Browse Source

Fixed broken reference and typo in documentation of Dropdown's $items (#182) [skip ci]

tags/2.0.7
micro-maureen 8 years ago committed by Alexander Makarov
parent
commit
629087c34e
  1. 4
      Dropdown.php

4
Dropdown.php

@ -39,8 +39,8 @@ class Dropdown extends Widget
* or an array representing a single menu with the following structure: * or an array representing a single menu with the following structure:
* *
* - label: string, required, the label of the item link. * - label: string, required, the label of the item link.
* - encode: boolean, optional, whether to HTML-ecnode item label. * - encode: boolean, optional, whether to HTML-encode item label.
* - url: string|array, optional, the url of the item link. This will be processed by [[Url::to()]]. * - url: string|array, optional, the URL of the item link. This will be processed by [[\yii\helpers\Url::to()]].
* If not set, the item will be treated as a menu header when the item has no sub-menu. * If not set, the item will be treated as a menu header when the item has no sub-menu.
* - visible: boolean, optional, whether this menu item is visible. Defaults to true. * - visible: boolean, optional, whether this menu item is visible. Defaults to true.
* - linkOptions: array, optional, the HTML attributes of the item link. * - linkOptions: array, optional, the HTML attributes of the item link.

Loading…
Cancel
Save