Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yii2bootstrap
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
yii2bootstrap
Commits
d044ce5a
Commit
d044ce5a
authored
May 19, 2015
by
Klimov Paul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc comments format fixed
parent
aae6d31e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
ActiveField.php
ActiveField.php
+2
-0
BaseHtml.php
BaseHtml.php
+4
-0
No files found.
ActiveField.php
View file @
d044ce5a
...
@@ -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
=
[])
...
...
BaseHtml.php
View file @
d044ce5a
...
@@ -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
=
[])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment