diff --git a/framework/yii/bootstrap/Carousel.php b/framework/yii/bootstrap/Carousel.php index c2c68a7..ec9a0c9 100644 --- a/framework/yii/bootstrap/Carousel.php +++ b/framework/yii/bootstrap/Carousel.php @@ -55,7 +55,7 @@ class Carousel extends Widget * // required, slide content (HTML), such as an image tag * 'content' => '', * // optional, the caption (HTML) of the slide - * 'caption'=> '
This is the caption text
', + * 'caption' => 'This is the caption text
', * // optional the HTML attributes of the slide container * 'options' => array(), * ) diff --git a/framework/yii/bootstrap/Collapse.php b/framework/yii/bootstrap/Collapse.php index 8aed0b1..77fdde7 100644 --- a/framework/yii/bootstrap/Collapse.php +++ b/framework/yii/bootstrap/Collapse.php @@ -23,7 +23,7 @@ use yii\helpers\Html; * 'Collapsible Group Item #1' => array( * 'content' => 'Anim pariatur cliche...', * // open its content by default - * 'contentOptions' => array('class'=>'in') + * 'contentOptions' => array('class' => 'in') * ), * // another group item * 'Collapsible Group Item #2' => array( @@ -51,9 +51,9 @@ class Collapse extends Widget * // required, the content (HTML) of the group * 'content' => 'Anim pariatur cliche...', * // optional the HTML attributes of the content group - * 'contentOptions'=> array(), + * 'contentOptions' => array(), * // optional the HTML attributes of the group - * 'options'=> array(), + * 'options' => array(), * ) * ``` */ diff --git a/framework/yii/bootstrap/Nav.php b/framework/yii/bootstrap/Nav.php index 18ce107..5b5d40b 100644 --- a/framework/yii/bootstrap/Nav.php +++ b/framework/yii/bootstrap/Nav.php @@ -136,7 +136,7 @@ class Nav extends Widget if (is_array($items)) { $items = Dropdown::widget(array( 'items' => $items, - 'encodeLabels'=>$this->encodeLabels, + 'encodeLabels' => $this->encodeLabels, 'clientOptions' => false, )); } diff --git a/framework/yii/bootstrap/NavBar.php b/framework/yii/bootstrap/NavBar.php index f801df5..52804c4 100644 --- a/framework/yii/bootstrap/NavBar.php +++ b/framework/yii/bootstrap/NavBar.php @@ -87,7 +87,7 @@ class NavBar extends Widget * // optional, the menu item class type of the widget to render. Defaults to "Nav" widget. * 'class' => 'Menu item class type', * // required, the configuration options of the widget. - * 'options'=> array(...), + * 'options' => array(...), * ), * // optionally, you can pass a string * '