View/Helper/Navigation/Breadcrumbs.php
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_View
- Subpackage
- Helper
- Version
- $Id$
\Zend_View_Helper_Navigation_Breadcrumbs
- Parent(s)
- \Zend_View_Helper_Navigation_HelperAbstract < \Zend_View_Helper_HtmlElement < \Zend_View_Helper_Abstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

bool $_linkLast = falsefalseDetails- Type
- bool

int $_minDepth = 11Details- Type
- int
Methods

breadcrumbs(\Zend_Navigation_Container $container = null) : \Zend_View_Helper_Navigation_BreadcrumbsView helper entry point: Retrieves helper and optionally sets container to operate on
| Name | Type | Description |
|---|---|---|
| $container | \Zend_Navigation_Container | [optional] container to |
| Type | Description |
|---|---|
| \Zend_View_Helper_Navigation_Breadcrumbs | fluent interface, returns self |

getLinkLast() : boolReturns whether last page in breadcrumbs should be hyperlinked
| Type | Description |
|---|---|
| bool | whether last page in breadcrumbs should be hyperlinked |

getPartial() : string | array | nullReturns partial view script to use for rendering menu
| Type | Description |
|---|---|
| string | array | null |

render(\Zend_Navigation_Container $container = null) : stringRenders helper
| Name | Type | Description |
|---|---|---|
| $container | \Zend_Navigation_Container | [optional] container to |
| Type | Description |
|---|---|
| string | helper output |

renderPartial(\Zend_Navigation_Container $container = null, string | array $partial = null) : stringRenders the given $container by invoking the partial view helper
$this->container.| Name | Type | Description |
|---|---|---|
| $container | \Zend_Navigation_Container | [optional] container to |
| $partial | string | array | [optional] partial view |
| Type | Description |
|---|---|
| string | helper output |

renderStraight(\Zend_Navigation_Container $container = null) : stringRenders breadcrumbs by chaining 'a' elements with the separator registered in the helper
| Name | Type | Description |
|---|---|---|
| $container | \Zend_Navigation_Container | [optional] container to |
| Type | Description |
|---|---|
| string | helper output |

setLinkLast(bool $linkLast) : \Zend_View_Helper_Navigation_BreadcrumbsSets whether last page in breadcrumbs should be hyperlinked
| Name | Type | Description |
|---|---|---|
| $linkLast | bool | whether last page should be hyperlinked |
| Type | Description |
|---|---|
| \Zend_View_Helper_Navigation_Breadcrumbs | fluent interface, returns self |

setPartial(string | array $partial) : \Zend_View_Helper_Navigation_BreadcrumbsSets which partial view script to use for rendering menu
| Name | Type | Description |
|---|---|---|
| $partial | string | array | 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. |
| Type | Description |
|---|---|
| \Zend_View_Helper_Navigation_Breadcrumbs | fluent interface, returns self |

setSeparator(string $separator) : \Zend_View_Helper_Navigation_BreadcrumbsSets breadcrumb separator
| Name | Type | Description |
|---|---|---|
| $separator | string | separator string |
| Type | Description |
|---|---|
| \Zend_View_Helper_Navigation_Breadcrumbs | fluent interface, returns self |