Commit 2885d098 by Qiang Xue

doc fix.

parent 534aa4f9
...@@ -21,7 +21,7 @@ use yii\helpers\Html; ...@@ -21,7 +21,7 @@ use yii\helpers\Html;
* use yii\widgets\Menu; * use yii\widgets\Menu;
* *
* NavBar::begin(array('brandLabel' => 'NavBar Test')); * NavBar::begin(array('brandLabel' => 'NavBar Test'));
* echo Menu::widget(array( * echo Nav::widget(array(
* 'items' => array( * 'items' => array(
* array('label' => 'Home', 'url' => array('/site/index')), * array('label' => 'Home', 'url' => array('/site/index')),
* array('label' => 'About', 'url' => array('/site/about')), * array('label' => 'About', 'url' => array('/site/about')),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment