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
83489d36
Commit
83489d36
authored
Jul 29, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
property code style extensions
parent
b74f3b0d
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
16 additions
and
13 deletions
+16
-13
ActiveField.php
ActiveField.php
+1
-11
ActiveForm.php
ActiveForm.php
+1
-1
Alert.php
Alert.php
+1
-0
Button.php
Button.php
+1
-0
ButtonDropdown.php
ButtonDropdown.php
+1
-0
ButtonGroup.php
ButtonGroup.php
+1
-0
Carousel.php
Carousel.php
+1
-0
Collapse.php
Collapse.php
+1
-0
Dropdown.php
Dropdown.php
+2
-1
Modal.php
Modal.php
+1
-0
Nav.php
Nav.php
+1
-0
NavBar.php
NavBar.php
+1
-0
Progress.php
Progress.php
+1
-0
Tabs.php
Tabs.php
+1
-0
Widget.php
Widget.php
+1
-0
No files found.
ActiveField.php
View file @
83489d36
...
@@ -95,17 +95,14 @@ class ActiveField extends \yii\widgets\ActiveField
...
@@ -95,17 +95,14 @@ class ActiveField extends \yii\widgets\ActiveField
* @var bool whether to render [[checkboxList()]] and [[radioList()]] inline.
* @var bool whether to render [[checkboxList()]] and [[radioList()]] inline.
*/
*/
public
$inline
=
false
;
public
$inline
=
false
;
/**
/**
* @var string|null optional template to render the `{input}` placeholder content
* @var string|null optional template to render the `{input}` placeholder content
*/
*/
public
$inputTemplate
;
public
$inputTemplate
;
/**
/**
* @var array options for the wrapper tag, used in the `{beginWrapper}` placeholder
* @var array options for the wrapper tag, used in the `{beginWrapper}` placeholder
*/
*/
public
$wrapperOptions
=
[];
public
$wrapperOptions
=
[];
/**
/**
* @var null|array CSS grid classes for horizontal layout. This must be an array with these keys:
* @var null|array CSS grid classes for horizontal layout. This must be an array with these keys:
* - 'offset' the offset grid class to append to the wrapper if no label is rendered
* - 'offset' the offset grid class to append to the wrapper if no label is rendered
...
@@ -115,47 +112,40 @@ class ActiveField extends \yii\widgets\ActiveField
...
@@ -115,47 +112,40 @@ class ActiveField extends \yii\widgets\ActiveField
* - 'hint' the hint grid class
* - 'hint' the hint grid class
*/
*/
public
$horizontalCssClasses
;
public
$horizontalCssClasses
;
/**
/**
* @var string the template for checkboxes in default layout
* @var string the template for checkboxes in default layout
*/
*/
public
$checkboxTemplate
=
"<div class=
\"
checkbox
\"
>
\n
{
beginLabel}\n{input}\n{labelTitle}\n{endLabel}\n{error}\n{hint
}
\n
</div>"
;
public
$checkboxTemplate
=
"<div class=
\"
checkbox
\"
>
\n
{
beginLabel}\n{input}\n{labelTitle}\n{endLabel}\n{error}\n{hint
}
\n
</div>"
;
/**
/**
* @var string the template for radios in default layout
* @var string the template for radios in default layout
*/
*/
public
$radioTemplate
=
"<div class=
\"
radio
\"
>
\n
{
beginLabel}\n{input}\n{labelTitle}\n{endLabel}\n{error}\n{hint
}
\n
</div>"
;
public
$radioTemplate
=
"<div class=
\"
radio
\"
>
\n
{
beginLabel}\n{input}\n{labelTitle}\n{endLabel}\n{error}\n{hint
}
\n
</div>"
;
/**
/**
* @var string the template for checkboxes in horizontal layout
* @var string the template for checkboxes in horizontal layout
*/
*/
public
$horizontalCheckboxTemplate
=
"
{
beginWrapper
}
\n
<div class=
\"
checkbox
\"
>
\n
{
beginLabel}\n{input}\n{labelTitle}\n{endLabel}\n</div>\n{error}\n{endWrapper}\n{hint
}
"
;
public
$horizontalCheckboxTemplate
=
"
{
beginWrapper
}
\n
<div class=
\"
checkbox
\"
>
\n
{
beginLabel}\n{input}\n{labelTitle}\n{endLabel}\n</div>\n{error}\n{endWrapper}\n{hint
}
"
;
/**
/**
* @var string the template for radio buttons in horizontal layout
* @var string the template for radio buttons in horizontal layout
*/
*/
public
$horizontalRadioTemplate
=
"
{
beginWrapper
}
\n
<div class=
\"
radio
\"
>
\n
{
beginLabel}\n{input}\n{labelTitle}\n{endLabel}\n</div>\n{error}\n{endWrapper}\n{hint
}
"
;
public
$horizontalRadioTemplate
=
"
{
beginWrapper
}
\n
<div class=
\"
radio
\"
>
\n
{
beginLabel}\n{input}\n{labelTitle}\n{endLabel}\n</div>\n{error}\n{endWrapper}\n{hint
}
"
;
/**
/**
* @var string the template for inline checkboxLists
* @var string the template for inline checkboxLists
*/
*/
public
$inlineCheckboxListTemplate
=
"
{
label}\n{beginWrapper}\n{input}\n{error}\n{endWrapper}\n{hint
}
"
;
public
$inlineCheckboxListTemplate
=
"
{
label}\n{beginWrapper}\n{input}\n{error}\n{endWrapper}\n{hint
}
"
;
/**
/**
* @var string the template for inline radioLists
* @var string the template for inline radioLists
*/
*/
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 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 whether to render the label. Default is `true`.
*/
*/
public
$enableLabel
=
true
;
public
$enableLabel
=
true
;
/**
/**
* @inheritdoc
* @inheritdoc
*/
*/
...
...
ActiveForm.php
View file @
83489d36
...
@@ -69,7 +69,6 @@ class ActiveForm extends \yii\widgets\ActiveForm
...
@@ -69,7 +69,6 @@ class ActiveForm extends \yii\widgets\ActiveForm
* @var array HTML attributes for the form tag. Default is `['role' => 'form']`.
* @var array HTML attributes for the form tag. Default is `['role' => 'form']`.
*/
*/
public
$options
=
[
'role'
=>
'form'
];
public
$options
=
[
'role'
=>
'form'
];
/**
/**
* @var string the form layout. Either 'default', 'horizontal' or 'inline'.
* @var string the form layout. Either 'default', 'horizontal' or 'inline'.
* By choosing a layout, an appropriate default field configuration is applied. This will
* By choosing a layout, an appropriate default field configuration is applied. This will
...
@@ -79,6 +78,7 @@ class ActiveForm extends \yii\widgets\ActiveForm
...
@@ -79,6 +78,7 @@ class ActiveForm extends \yii\widgets\ActiveForm
*/
*/
public
$layout
=
'default'
;
public
$layout
=
'default'
;
/**
/**
* @inheritdoc
* @inheritdoc
*/
*/
...
...
Alert.php
View file @
83489d36
...
@@ -68,6 +68,7 @@ class Alert extends Widget
...
@@ -68,6 +68,7 @@ class Alert extends Widget
*/
*/
public
$closeButton
=
[];
public
$closeButton
=
[];
/**
/**
* Initializes the widget.
* Initializes the widget.
*/
*/
...
...
Button.php
View file @
83489d36
...
@@ -39,6 +39,7 @@ class Button extends Widget
...
@@ -39,6 +39,7 @@ class Button extends Widget
*/
*/
public
$encodeLabel
=
true
;
public
$encodeLabel
=
true
;
/**
/**
* Initializes the widget.
* Initializes the widget.
* If you override this method, make sure you call the parent implementation first.
* If you override this method, make sure you call the parent implementation first.
...
...
ButtonDropdown.php
View file @
83489d36
...
@@ -59,6 +59,7 @@ class ButtonDropdown extends Widget
...
@@ -59,6 +59,7 @@ class ButtonDropdown extends Widget
*/
*/
public
$encodeLabel
=
true
;
public
$encodeLabel
=
true
;
/**
/**
* Renders the widget.
* Renders the widget.
*/
*/
...
...
ButtonGroup.php
View file @
83489d36
...
@@ -52,6 +52,7 @@ class ButtonGroup extends Widget
...
@@ -52,6 +52,7 @@ class ButtonGroup extends Widget
*/
*/
public
$encodeLabels
=
true
;
public
$encodeLabels
=
true
;
/**
/**
* Initializes the widget.
* Initializes the widget.
* If you override this method, make sure you call the parent implementation first.
* If you override this method, make sure you call the parent implementation first.
...
...
Carousel.php
View file @
83489d36
...
@@ -66,6 +66,7 @@ class Carousel extends Widget
...
@@ -66,6 +66,7 @@ class Carousel extends Widget
*/
*/
public
$items
=
[];
public
$items
=
[];
/**
/**
* Initializes the widget.
* Initializes the widget.
*/
*/
...
...
Collapse.php
View file @
83489d36
...
@@ -59,6 +59,7 @@ class Collapse extends Widget
...
@@ -59,6 +59,7 @@ class Collapse extends Widget
*/
*/
public
$items
=
[];
public
$items
=
[];
/**
/**
* Initializes the widget.
* Initializes the widget.
*/
*/
...
...
Dropdown.php
View file @
83489d36
...
@@ -45,7 +45,8 @@ class Dropdown extends Widget
...
@@ -45,7 +45,8 @@ class Dropdown extends Widget
* @see \yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered.
* @see \yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered.
*/
*/
protected
$_containerOptions
=
[];
protected
$_containerOptions
=
[];
/**
/**
* Initializes the widget.
* Initializes the widget.
* If you override this method, make sure you call the parent implementation first.
* If you override this method, make sure you call the parent implementation first.
...
...
Modal.php
View file @
83489d36
...
@@ -82,6 +82,7 @@ class Modal extends Widget
...
@@ -82,6 +82,7 @@ class Modal extends Widget
*/
*/
public
$toggleButton
;
public
$toggleButton
;
/**
/**
* Initializes the widget.
* Initializes the widget.
*/
*/
...
...
Nav.php
View file @
83489d36
...
@@ -93,6 +93,7 @@ class Nav extends Widget
...
@@ -93,6 +93,7 @@ class Nav extends Widget
*/
*/
public
$params
;
public
$params
;
/**
/**
* Initializes the widget.
* Initializes the widget.
*/
*/
...
...
NavBar.php
View file @
83489d36
...
@@ -85,6 +85,7 @@ class NavBar extends Widget
...
@@ -85,6 +85,7 @@ class NavBar extends Widget
*/
*/
public
$innerContainerOptions
=
[];
public
$innerContainerOptions
=
[];
/**
/**
* Initializes the widget.
* Initializes the widget.
*/
*/
...
...
Progress.php
View file @
83489d36
...
@@ -89,6 +89,7 @@ class Progress extends Widget
...
@@ -89,6 +89,7 @@ class Progress extends Widget
*/
*/
public
$bars
;
public
$bars
;
/**
/**
* Initializes the widget.
* Initializes the widget.
* If you override this method, make sure you call the parent implementation first.
* If you override this method, make sure you call the parent implementation first.
...
...
Tabs.php
View file @
83489d36
...
@@ -102,6 +102,7 @@ class Tabs extends Widget
...
@@ -102,6 +102,7 @@ class Tabs extends Widget
*/
*/
public
$navType
=
'nav-tabs'
;
public
$navType
=
'nav-tabs'
;
/**
/**
* Initializes the widget.
* Initializes the widget.
*/
*/
...
...
Widget.php
View file @
83489d36
...
@@ -39,6 +39,7 @@ class Widget extends \yii\base\Widget
...
@@ -39,6 +39,7 @@ class Widget extends \yii\base\Widget
*/
*/
public
$clientEvents
=
[];
public
$clientEvents
=
[];
/**
/**
* Initializes the widget.
* Initializes the widget.
* This method will register the bootstrap asset bundle. If you override this method,
* This method will register the bootstrap asset bundle. If you override this method,
...
...
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