widgets\ContentDecorator run()

run() public method Ends recording a clip. This method stops output buffering and saves the rendering result as a named clip in the controller. public void run ( )

widgets\ContentDecorator init()

init() public method Starts recording a clip. public void init ( )

widgets\ContentDecorator $viewFile

$viewFile public property The view file that will be used to decorate the content enclosed by this widget. This can be specified as either the view file path or path alias. public string $viewFile = null

widgets\ContentDecorator $params

$params public property The parameters (name => value) to be extracted and made available in the decorative view. public array $params = []

widgets\Breadcrumbs run()

run() public method Renders the widget. public void run ( )

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.

widgets\Breadcrumbs $tag

$tag public property The name of the breadcrumb container tag. public string $tag = 'ul'

widgets\Breadcrumbs $options

$options public property The HTML attributes for the breadcrumb container tag. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $options = ['class' => 'breadcrumb']

widgets\Breadcrumbs $links

$links public property List of links to appear in the breadcrumbs. If this property is empty, the widget will not render anything. Each array element represents a single link in the breadcrumbs with the following structure: [ 'label' => 'label of the link', // required 'url' => 'url of the link', // optional, will be processed by Url::to() 'template' => 'own template of the item', // optional, if not set $this->itemTemplate will be used ] If a link is active,

widgets\Breadcrumbs $itemTemplate

$itemTemplate public property The template used to render each inactive item in the breadcrumbs. The token {link} will be replaced with the actual HTML link for each inactive item. public string $itemTemplate = "<li>{link}</li>\n"