|
Perforce Chronicle 2012.2/486814
API Documentation
|
Extends Zend_Navigation_Page_Uri to add macro support. More...
Public Member Functions | |
| getHref () | |
| Returns href for this page with support for macros. | |
| getLabel () | |
| Returns page label with support for macros. | |
| getTitle () | |
| Returns page title with support for macros. | |
| toArray () | |
| Returns an array representation of the page. | |
Extends Zend_Navigation_Page_Uri to add macro support.
| P4Cms_Navigation_Page_Uri::getHref | ( | ) |
Returns href for this page with support for macros.
{
return P4Cms_Navigation::expandMacros(parent::getHref(), $this);
}
| P4Cms_Navigation_Page_Uri::getLabel | ( | ) |
Returns page label with support for macros.
{
return P4Cms_Navigation::expandMacros(parent::getLabel(), $this);
}
| P4Cms_Navigation_Page_Uri::getTitle | ( | ) |
Returns page title with support for macros.
{
return P4Cms_Navigation::expandMacros(parent::getTitle(), $this);
}
| P4Cms_Navigation_Page_Uri::toArray | ( | ) |
Returns an array representation of the page.
{
return array_merge(
parent::toArray(),
array(
'label' => $this->_label,
'title' => $this->_title
)
);
}