interface CurrentPageIdentifier

This interface lets us set up objects that will tell us what the current page is.

Methods

int
currentPageID()

Get the current page ID.

boolean
isCurrentPage(DataObject $page)

Check if the given DataObject is the current page.

Details

at line 17
int currentPageID()

Get the current page ID.

Return Value

int

at line 24
boolean isCurrentPage(DataObject $page)

Check if the given DataObject is the current page.

Parameters

DataObject $page The page to check.

Return Value

boolean