Admonish

Docblock question: Do I need to add use statements for classes referenced by my docblocks? (E.g. @return ClassName)

Admonish

Ahh Sitetree extends DataObject. I think I know how to make the query then

Admonish

Is there a way to get pages based off there Page type? I only have one blog page on my website and would like to be able to get its data on other pages. So I was thinking of just getting a list of all Blog pages and grabbing the first item.

But I dont know how to query pages by page type

Admonish

Quick question. How do you get the page that a child page is under?

Admonish

I bet. I think staying up late is in the job description...shoulda read that fine print 😄

😂 (1)
Admonish

Lol, sorry about that, its 2am here and I'm a bit tired

Admonish

Is there some method that I can call to get the related Page object? Like getPage() or something?