widgets\Breadcrumbs renderItem()

renderItem() protected method

Renders a single breadcrumb item.

protected string renderItem ( $link, $template )
$link array

The link to be rendered. It must contain the "label" element. The "url" element is optional.

$template string

The template to be used to rendered the link. The token "{link}" will be replaced by the link.

return string

The rendering result

throws yii\base\InvalidConfigException

if $link does not have "label" element.

doc_Yii
2016-10-30 17:18:14
Comments
Leave a Comment

Please login to continue.