Browse Source

Merge pull request #94 from jasonhancock/nav-document-encode

Document the "encode" option for Nav items [skip ci]
tags/2.0.6
Alexander Makarov 9 years ago
parent
commit
f74b454bb6
  1. 1
      Nav.php

1
Nav.php

@ -66,6 +66,7 @@ class Nav extends Widget
* - dropDownOptions: array, optional, the HTML options that will passed to the [[Dropdown]] widget. * - dropDownOptions: array, optional, the HTML options that will passed to the [[Dropdown]] widget.
* - items: array|string, optional, the configuration array for creating a [[Dropdown]] widget, * - items: array|string, optional, the configuration array for creating a [[Dropdown]] widget,
* or a string representing the dropdown menu. Note that Bootstrap does not support sub-dropdown menus. * or a string representing the dropdown menu. Note that Bootstrap does not support sub-dropdown menus.
* - encode: boolean, optional, whether the label will be HTML-encoded. If set, supersedes the $encodeLabels option for only this item.
* *
* If a menu item is a string, it will be rendered directly without HTML encoding. * If a menu item is a string, it will be rendered directly without HTML encoding.
*/ */

Loading…
Cancel
Save