CurrentPageIdentifier deprecated
interface CurrentPageIdentifier (View source)
deprecated 5.4.0 Will be renamed to SilverStripe\CMS\Model\CurrentRecordIdentifier
This interface lets us set up objects that will tell us what the current page is.
Methods
Details
int
currentPageID()
deprecated
deprecated 5.4.0 Will be renamed to currentRecordID()
Get the current page ID.
bool
isCurrentPage(DataObject $page)
deprecated
deprecated 5.4.0 Will be renamed to isCurrentRecord()
Check if the given DataObject is the current page.