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
416510b4
Commit
416510b4
authored
Oct 25, 2014
by
Alexander Mohorev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct type declarations
parent
c5b60076
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ActiveField.php
ActiveField.php
+4
-4
No files found.
ActiveField.php
View file @
416510b4
...
@@ -92,7 +92,7 @@ use yii\helpers\ArrayHelper;
...
@@ -92,7 +92,7 @@ use yii\helpers\ArrayHelper;
class
ActiveField
extends
\yii\widgets\ActiveField
class
ActiveField
extends
\yii\widgets\ActiveField
{
{
/**
/**
* @var bool whether to render [[checkboxList()]] and [[radioList()]] inline.
* @var bool
ean
whether to render [[checkboxList()]] and [[radioList()]] inline.
*/
*/
public
$inline
=
false
;
public
$inline
=
false
;
/**
/**
...
@@ -137,11 +137,11 @@ class ActiveField extends \yii\widgets\ActiveField
...
@@ -137,11 +137,11 @@ class ActiveField extends \yii\widgets\ActiveField
*/
*/
public
$inlineRadioListTemplate
=
"
{
label}\n{beginWrapper}\n{input}\n{error}\n{endWrapper}\n{hint
}
"
;
public
$inlineRadioListTemplate
=
"
{
label}\n{beginWrapper}\n{input}\n{error}\n{endWrapper}\n{hint
}
"
;
/**
/**
* @var bool whether to render the error. Default is `true` except for layout `inline`.
* @var bool
ean
whether to render the error. Default is `true` except for layout `inline`.
*/
*/
public
$enableError
=
true
;
public
$enableError
=
true
;
/**
/**
* @var bool whether to render the label. Default is `true`.
* @var bool
ean
whether to render the label. Default is `true`.
*/
*/
public
$enableLabel
=
true
;
public
$enableLabel
=
true
;
...
@@ -303,7 +303,7 @@ class ActiveField extends \yii\widgets\ActiveField
...
@@ -303,7 +303,7 @@ class ActiveField extends \yii\widgets\ActiveField
}
}
/**
/**
* @param bool $value whether to render a inline list
* @param bool
ean
$value whether to render a inline list
* @return static the field object itself
* @return static the field object itself
* Make sure you call this method before [[checkboxList()]] or [[radioList()]] to have any effect.
* Make sure you call this method before [[checkboxList()]] or [[radioList()]] to have any effect.
*/
*/
...
...
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