PHP Class Wicked_View_Helper_Navigation, horde

Since: 2.1.0
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_View_Helper_Base
Show file Open project: horde/horde

Protected Properties

Property Type Description
$_subPages array Cached list of sub pages.

Public Methods

Method Description
breadcrumb ( string $name ) : string Returns a page's breadcrumb navigation.
hasSubPages ( string $name ) : boolean Returns whether a page has sub pages.
navigation ( string $name ) : string Returns a page's previous/next navigation.
subPages ( string $name ) : string Returns the list of a page's sub pages.

Protected Methods

Method Description
_getSubPages ( string $name ) Loads the list of a page's sub pages.

Method Details

_getSubPages() protected method

Loads the list of a page's sub pages.
protected _getSubPages ( string $name )
$name string A page name with slashes for directory separators.

breadcrumb() public method

Returns a page's breadcrumb navigation.
public breadcrumb ( string $name ) : string
$name string A page name with slashes for directory separators.
return string A breadcrumb navigation.

hasSubPages() public method

Returns whether a page has sub pages.
public hasSubPages ( string $name ) : boolean
$name string A page name with slashes for directory separators.
return boolean Whether the page has subpages.

navigation() public method

Returns a page's previous/next navigation.
public navigation ( string $name ) : string
$name string A page name with slashes for directory separators.
return string A previous/next navigation.

subPages() public method

Returns the list of a page's sub pages.
public subPages ( string $name ) : string
$name string A page name with slashes for directory separators.
return string A list of sub pages.

Property Details

$_subPages protected property

Cached list of sub pages.
protected array $_subPages
return array