Public Member Functions | |
breadcrumbs (Zend_Navigation_Container $container=null) | |
setSeparator ($separator) | |
getSeparator () | |
setLinkLast ($linkLast) | |
getLinkLast () | |
setPartial ($partial) | |
getPartial () | |
renderStraight (Zend_Navigation_Container $container=null) | |
renderPartial (Zend_Navigation_Container $container=null, $partial=null) | |
render (Zend_Navigation_Container $container=null) | |
Protected Attributes | |
$_separator = ' > ' | |
$_minDepth = 1 | |
$_linkLast = false | |
$_partial |
Definition at line 37 of file Breadcrumbs.php.
breadcrumbs | ( | Zend_Navigation_Container $ | container = null ) |
View helper entry point: Retrieves helper and optionally sets container to operate on
Zend_Navigation_Container | $container | [optional] container to operate on |
Definition at line 77 of file Breadcrumbs.php.
getLinkLast | ( | ) |
Returns whether last page in breadcrumbs should be hyperlinked
Definition at line 133 of file Breadcrumbs.php.
getPartial | ( | ) |
Returns partial view script to use for rendering menu
Definition at line 166 of file Breadcrumbs.php.
getSeparator | ( | ) |
Returns breadcrumb separator
Definition at line 109 of file Breadcrumbs.php.
render | ( | Zend_Navigation_Container $ | container = null ) |
Renders helper
Implements Zend_View_Helper_Navigation_Helper::render().
Zend_Navigation_Container | $container | [optional] container to render. Default is to render the container registered in the helper. |
Implements Zend_View_Helper_Navigation_Helper.
Definition at line 317 of file Breadcrumbs.php.
renderPartial | ( | Zend_Navigation_Container $ | container = null , |
$ | partial = null |
||
) |
Renders the given $container by invoking the partial view helper
The container will simply be passed on as a model to the view script, so in the script it will be available in $this->container
.
Zend_Navigation_Container | $container | [optional] container to pass to view script. Default is to use the container registered in the helper. |
string | array | $partial | [optional] partial view script to use. Default is to use the partial registered in the helper. If an array is given, it is expected to contain two values; the partial view script to use, and the module where the script can be found. |
Definition at line 250 of file Breadcrumbs.php.
renderStraight | ( | Zend_Navigation_Container $ | container = null ) |
Renders breadcrumbs by chaining 'a' elements with the separator registered in the helper
Zend_Navigation_Container | $container | [optional] container to render. Default is to render the container registered in the helper. |
Definition at line 183 of file Breadcrumbs.php.
setLinkLast | ( | $ | linkLast ) |
Sets whether last page in breadcrumbs should be hyperlinked
bool | $linkLast | whether last page should be hyperlinked |
Definition at line 122 of file Breadcrumbs.php.
setPartial | ( | $ | partial ) |
Sets which partial view script to use for rendering menu
string | array | $partial | partial view script or null. If an array is given, it is expected to contain two values; the partial view script to use, and the module where the script can be found. |
Definition at line 152 of file Breadcrumbs.php.
setSeparator | ( | $ | separator ) |
Sets breadcrumb separator
string | $separator | separator string |
Definition at line 95 of file Breadcrumbs.php.