PageΒΆ

public string getPageId ()

Returns the id of the page

Returns:string
public string getTitle ()

Returns the title of the page

Returns:string
public string getDescription ()

Returns the description of the page

Returns:string
public int getDate ()

Returns the date of the page

Returns:int
public boolean showInNavigation ()

Returns TRUE if the page is displayed in the navigation bar; FALSE otherwise.

Returns:boolean
public string getNavigationTitle (bool useTitleAsDefault = true)

Returns the title of the page that is shown in the navigation bar.

Parameters:
  • $useTitleAsDefault (bool) – when TRUE the page title is used as default
Returns:

string

public array getParentIds ()

Returns the ids of the parent pages

Returns:array
public array getChildrenIds ()

Returns the ids of the children pages

Returns:array
public string getUrl ()

Returns the url of the page

Returns:string
public mixed|null getGlobal (string name, int|null index = NULL)

Returns the global value for the given variable name.

Parameters:
  • $name (string) –
  • $index (int|null) –
Returns:

mixed|null