Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Helper for printing breadcrumbs
bool $_linkLast = 'false'
Whether last page in breadcrumb should be hyperlinked
int $_minDepth = '1'
The minimum depth a page must have to be included when rendering
string|array $_partial = ''
Partial view script to use for rendering menu
string $_separator = ' > '
Breadcrumbs separator string
breadcrumbs(
Zend_Navigation_Container $container
=
null
)
:
Zend_View_Helper_Navigation_Breadcrumbs
View helper entry point: Retrieves helper and optionally sets container to operate on
getLinkLast(
)
:
bool
Returns whether last page in breadcrumbs should be hyperlinked
getPartial(
)
:
string|array|null
Returns partial view script to use for rendering menu
getSeparator(
)
:
string
Returns breadcrumb separator
render(
Zend_Navigation_Container $container
=
null
)
:
string
Renders helper
Implements {@link Zend_View_Helper_Navigation_Helper::render()}.
renderPartial(
Zend_Navigation_Container $container
=
null, string|array $partial
=
null
)
:
string
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
.
renderStraight(
Zend_Navigation_Container $container
=
null
)
:
string
Renders breadcrumbs by chaining 'a' elements with the separator registered in the helper
setLinkLast(
bool $linkLast
)
:
Zend_View_Helper_Navigation_Breadcrumbs
Sets whether last page in breadcrumbs should be hyperlinked
setPartial(
string|array $partial
)
:
Zend_View_Helper_Navigation_Breadcrumbs
Sets which partial view script to use for rendering menu
setSeparator(
string $separator
)
:
Zend_View_Helper_Navigation_Breadcrumbs
Sets breadcrumb separator