widgets\DetailView $attributes

$attributes public property A list of attributes to be displayed in the detail view. Each array element represents the specification for displaying one particular attribute. An attribute can be specified as a string in the format of attribute, attribute:format or attribute:format:label, where attribute refers to the attribute name, and format represents the format of the attribute. The format is passed to the yii\i18n\Formatter::format() method to format an attribute value into a displayabl

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 $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\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\ContentDecorator $params

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

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"

widgets\Breadcrumbs $tag

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

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 $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']