Perforce Chronicle 2012.2/486814
API Documentation

P4Cms_Navigation_Page_Uri Class Reference

Extends Zend_Navigation_Page_Uri to add macro support. More...

List of all members.

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.

Detailed Description

Extends Zend_Navigation_Page_Uri to add macro support.

Copyright:
2011-2012 Perforce Software. All rights reserved
License:
Please see LICENSE.txt in top-level folder of this distribution.
Version:
2012.2/486814

Member Function Documentation

P4Cms_Navigation_Page_Uri::getHref ( )

Returns href for this page with support for macros.

Returns:
string the href
    {
        return P4Cms_Navigation::expandMacros(parent::getHref(), $this);
    }
P4Cms_Navigation_Page_Uri::getLabel ( )

Returns page label with support for macros.

Returns:
string page label or null
    {
        return P4Cms_Navigation::expandMacros(parent::getLabel(), $this);
    }
P4Cms_Navigation_Page_Uri::getTitle ( )

Returns page title with support for macros.

Returns:
string|null page title or null
    {
        return P4Cms_Navigation::expandMacros(parent::getTitle(), $this);
    }
P4Cms_Navigation_Page_Uri::toArray ( )

Returns an array representation of the page.

Returns:
array associative array containing all page properties
    {
        return array_merge(
            parent::toArray(),
            array(
                'label' => $this->_label,
                'title' => $this->_title
            )
        );
    }

The documentation for this class was generated from the following file: