From d044ce5aaaeb1b89ad61f6b2895e7297ab5cce9f Mon Sep 17 00:00:00 2001 From: Klimov Paul Date: Tue, 19 May 2015 08:56:29 +0300 Subject: [PATCH] Doc comments format fixed --- ActiveField.php | 2 ++ BaseHtml.php | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/ActiveField.php b/ActiveField.php index 28c9ae8..4ba6033 100644 --- a/ActiveField.php +++ b/ActiveField.php @@ -293,7 +293,9 @@ class ActiveField extends \yii\widgets\ActiveField * Renders Bootstrap static form control. * @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: + * * - encode: boolean, whether value should be HTML-encoded or not. + * * @return $this the field object itself */ public function staticControl($options = []) diff --git a/BaseHtml.php b/BaseHtml.php index 0d4eb21..3b97ed2 100644 --- a/BaseHtml.php +++ b/BaseHtml.php @@ -25,8 +25,10 @@ class BaseHtml extends \yii\helpers\Html * @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 * the attributes of the resulting tag. There are also a special options: + * * - 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. + * * @return string icon HTML. */ public static function icon($name, $options = []) @@ -45,7 +47,9 @@ class BaseHtml extends \yii\helpers\Html * @param string $value static control value. * @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: + * * - encode: boolean, whether value should be HTML-encoded or not. + * * @return string generated HTML */ public static function staticControl($value, $options = [])