\Wicked_View_Helper_Navigation

View helper to display a page's breadcrumb navigation.

Summary

Methods
Properties
Constants
breadcrumb()
navigation()
hasSubPages()
subPages()
No public properties found
No constants found
_getSubPages()
$_subPages
N/A
No private methods found
No private properties found
N/A

Properties

$_subPages

$_subPages : array

Cached list of sub pages.

Type

array

Methods

breadcrumb()

breadcrumb(string  $name) : string

Returns a page's breadcrumb navigation.

Parameters

string $name

A page name with slashes for directory separators.

Returns

string —

A breadcrumb navigation.

navigation()

navigation(string  $name) : string

Returns a page's previous/next navigation.

Parameters

string $name

A page name with slashes for directory separators.

Returns

string —

A previous/next navigation.

hasSubPages()

hasSubPages(string  $name) : boolean

Returns whether a page has sub pages.

Parameters

string $name

A page name with slashes for directory separators.

Returns

boolean —

Whether the page has subpages.

subPages()

subPages(string  $name) : string

Returns the list of a page's sub pages.

Parameters

string $name

A page name with slashes for directory separators.

Returns

string —

A list of sub pages.

_getSubPages()

_getSubPages(string  $name) 

Loads the list of a page's sub pages.

Parameters

string $name

A page name with slashes for directory separators.