Commit d044ce5a authored by Klimov Paul's avatar Klimov Paul

Doc comments format fixed

parent aae6d31e
...@@ -293,7 +293,9 @@ class ActiveField extends \yii\widgets\ActiveField ...@@ -293,7 +293,9 @@ class ActiveField extends \yii\widgets\ActiveField
* Renders Bootstrap static form control. * Renders Bootstrap static form control.
* @param array $options the tag options in terms of name-value pairs. These will be rendered as * @param array $options the tag options in terms of name-value pairs. These will be rendered as
* the attributes of the resulting tag. There are also a special options: * the attributes of the resulting tag. There are also a special options:
*
* - encode: boolean, whether value should be HTML-encoded or not. * - encode: boolean, whether value should be HTML-encoded or not.
*
* @return $this the field object itself * @return $this the field object itself
*/ */
public function staticControl($options = []) public function staticControl($options = [])
......
...@@ -25,8 +25,10 @@ class BaseHtml extends \yii\helpers\Html ...@@ -25,8 +25,10 @@ class BaseHtml extends \yii\helpers\Html
* @param string $name icon short name, for example: 'star' * @param string $name icon short name, for example: 'star'
* @param array $options the tag options in terms of name-value pairs. These will be rendered as * @param array $options the tag options in terms of name-value pairs. These will be rendered as
* the attributes of the resulting tag. There are also a special options: * the attributes of the resulting tag. There are also a special options:
*
* - tag: string, tag to be rendered, by default 'span' is used. * - tag: string, tag to be rendered, by default 'span' is used.
* - prefix: string, prefix which should be used to compose tag class, by default 'glyphicon glyphicon-' is used. * - prefix: string, prefix which should be used to compose tag class, by default 'glyphicon glyphicon-' is used.
*
* @return string icon HTML. * @return string icon HTML.
*/ */
public static function icon($name, $options = []) public static function icon($name, $options = [])
...@@ -45,7 +47,9 @@ class BaseHtml extends \yii\helpers\Html ...@@ -45,7 +47,9 @@ class BaseHtml extends \yii\helpers\Html
* @param string $value static control value. * @param string $value static control value.
* @param array $options the tag options in terms of name-value pairs. These will be rendered as * @param array $options the tag options in terms of name-value pairs. These will be rendered as
* the attributes of the resulting tag. There are also a special options: * the attributes of the resulting tag. There are also a special options:
*
* - encode: boolean, whether value should be HTML-encoded or not. * - encode: boolean, whether value should be HTML-encoded or not.
*
* @return string generated HTML * @return string generated HTML
*/ */
public static function staticControl($value, $options = []) public static function staticControl($value, $options = [])
......
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