Perforce Chronicle 2012.2/486814
API Documentation
|
Provides a 'heading' page for menus, for entries that need to exist without a link. More...
Public Member Functions | |
getHref () | |
Implement getHref as it is abstract in parent. | |
getLabel () | |
Returns page label with support for macros. | |
getTitle () | |
Returns page title with support for macros. | |
toArray () | |
Returns an array representation of the page. |
Provides a 'heading' page for menus, for entries that need to exist without a link.
Adds support for macros in page labels and titles.
P4Cms_Navigation_Page_Heading::getHref | ( | ) |
Implement getHref as it is abstract in parent.
We don't actually use it so returns ""
{ return ''; }
P4Cms_Navigation_Page_Heading::getLabel | ( | ) |
Returns page label with support for macros.
Reimplemented in P4Cms_Navigation_Page_Separator.
{ return P4Cms_Navigation::expandMacros(parent::getLabel(), $this); }
P4Cms_Navigation_Page_Heading::getTitle | ( | ) |
Returns page title with support for macros.
{ return P4Cms_Navigation::expandMacros(parent::getTitle(), $this); }
P4Cms_Navigation_Page_Heading::toArray | ( | ) |
Returns an array representation of the page.
{ return array_merge( parent::toArray(), array( 'label' => $this->_label, 'title' => $this->_title ) ); }