mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-12 20:21:19 +08:00
added a large amount of missing documentation
This commit is contained in:
@@ -72,6 +72,7 @@ class Choice extends Widget
|
||||
public $clientIdGetParamName = 'authclient';
|
||||
/**
|
||||
* @var array the HTML attributes that should be rendered in the div HTML tag representing the container element.
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $options = [
|
||||
'class' => 'auth-clients'
|
||||
|
||||
@@ -39,6 +39,7 @@ class ButtonDropdown extends Widget
|
||||
public $label = 'Button';
|
||||
/**
|
||||
* @var array the HTML attributes of the button.
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $options = [];
|
||||
/**
|
||||
|
||||
@@ -42,13 +42,17 @@ class NavBar extends Widget
|
||||
/**
|
||||
* @var array the HTML attributes for the widget container tag. The following special options are recognized:
|
||||
*
|
||||
* - tag: string, defaults to "nav", the name of the container tag
|
||||
* - tag: string, defaults to "nav", the name of the container tag.
|
||||
*
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $options = [];
|
||||
/**
|
||||
* @var array the HTML attributes for the container tag. The following special options are recognized:
|
||||
*
|
||||
* - tag: string, defaults to "div", the name of the container tag
|
||||
* - tag: string, defaults to "div", the name of the container tag.
|
||||
*
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $containerOptions = [];
|
||||
/**
|
||||
@@ -63,6 +67,7 @@ class NavBar extends Widget
|
||||
public $brandUrl;
|
||||
/**
|
||||
* @var array the HTML attributes of the brand link.
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $brandOptions = [];
|
||||
/**
|
||||
@@ -76,6 +81,7 @@ class NavBar extends Widget
|
||||
public $renderInnerContainer = true;
|
||||
/**
|
||||
* @var array the HTML attributes of the inner container.
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $innerContainerOptions = [];
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ use yii\helpers\Html;
|
||||
class Progress extends Widget
|
||||
{
|
||||
/**
|
||||
* @var string the button label
|
||||
* @var string the button label.
|
||||
*/
|
||||
public $label;
|
||||
/**
|
||||
@@ -68,7 +68,8 @@ class Progress extends Widget
|
||||
*/
|
||||
public $percent = 0;
|
||||
/**
|
||||
* @var array the HTML attributes of the bar
|
||||
* @var array the HTML attributes of the bar.
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $barOptions = [];
|
||||
/**
|
||||
@@ -84,6 +85,7 @@ class Progress extends Widget
|
||||
* // optional, array, additional HTML attributes for the bar tag
|
||||
* 'options' => [],
|
||||
* ]
|
||||
* ```
|
||||
*/
|
||||
public $bars;
|
||||
|
||||
|
||||
@@ -75,16 +75,20 @@ class Tabs extends Widget
|
||||
* by the "options" set in individual [[items]]. The following special options are recognized:
|
||||
*
|
||||
* - tag: string, defaults to "div", the tag name of the item container tags.
|
||||
*
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $itemOptions = [];
|
||||
/**
|
||||
* @var array list of HTML attributes for the header container tags. This will be overwritten
|
||||
* by the "headerOptions" set in individual [[items]].
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $headerOptions = [];
|
||||
/**
|
||||
* @var array list of HTML attributes for the tab header link tags. This will be overwritten
|
||||
* by the "linkOptions" set in individual [[items]].
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $linkOptions = [];
|
||||
/**
|
||||
|
||||
@@ -21,6 +21,7 @@ class Widget extends \yii\base\Widget
|
||||
{
|
||||
/**
|
||||
* @var array the HTML attributes for the widget container tag.
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $options = [];
|
||||
/**
|
||||
|
||||
@@ -47,6 +47,8 @@ class Accordion extends Widget
|
||||
* @var array the HTML attributes for the widget container tag. The following special options are recognized:
|
||||
*
|
||||
* - tag: string, defaults to "div", the tag name of the container tag of this widget
|
||||
*
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $options = [];
|
||||
/**
|
||||
@@ -69,6 +71,8 @@ class Accordion extends Widget
|
||||
* by the "options" set in individual [[items]]. The following special options are recognized:
|
||||
*
|
||||
* - tag: string, defaults to "div", the tag name of the item container tags.
|
||||
*
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $itemOptions = [];
|
||||
/**
|
||||
@@ -76,6 +80,8 @@ class Accordion extends Widget
|
||||
* by the "headerOptions" set in individual [[items]]. The following special options are recognized:
|
||||
*
|
||||
* - tag: string, defaults to "h3", the tag name of the item container tags.
|
||||
*
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $headerOptions = [];
|
||||
|
||||
|
||||
@@ -56,6 +56,7 @@ class DatePicker extends InputWidget
|
||||
public $inline = false;
|
||||
/**
|
||||
* @var array the HTML attributes for the container tag. This is only used when [[inline]] is true.
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $containerOptions = [];
|
||||
|
||||
|
||||
@@ -51,7 +51,9 @@ class Selectable extends Widget
|
||||
/**
|
||||
* @var array the HTML attributes for the widget container tag. The following special options are recognized:
|
||||
*
|
||||
* - tag: string, defaults to "ul", the tag name of the container tag of this widget
|
||||
* - tag: string, defaults to "ul", the tag name of the container tag of this widget.
|
||||
*
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $options = [];
|
||||
/**
|
||||
@@ -72,6 +74,8 @@ class Selectable extends Widget
|
||||
* by the "options" set in individual [[items]]. The following special options are recognized:
|
||||
*
|
||||
* - tag: string, defaults to "li", the tag name of the item container tags.
|
||||
*
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $itemOptions = [];
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ class SliderInput extends InputWidget
|
||||
];
|
||||
/**
|
||||
* @var array the HTML attributes for the container tag.
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $containerOptions = [];
|
||||
|
||||
|
||||
@@ -41,7 +41,9 @@ class Sortable extends Widget
|
||||
/**
|
||||
* @var array the HTML attributes for the widget container tag. The following special options are recognized:
|
||||
*
|
||||
* - tag: string, defaults to "ul", the tag name of the container tag of this widget
|
||||
* - tag: string, defaults to "ul", the tag name of the container tag of this widget.
|
||||
*
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $options = [];
|
||||
/**
|
||||
@@ -62,6 +64,8 @@ class Sortable extends Widget
|
||||
* by the "options" set in individual [[items]]. The following special options are recognized:
|
||||
*
|
||||
* - tag: string, defaults to "li", the tag name of the item container tags.
|
||||
*
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $itemOptions = [];
|
||||
|
||||
|
||||
@@ -56,7 +56,9 @@ class Tabs extends Widget
|
||||
/**
|
||||
* @var array the HTML attributes for the widget container tag. The following special options are recognized:
|
||||
*
|
||||
* - tag: string, defaults to "div", the tag name of the container tag of this widget
|
||||
* - tag: string, defaults to "div", the tag name of the container tag of this widget.
|
||||
*
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $options = [];
|
||||
/**
|
||||
@@ -77,11 +79,14 @@ class Tabs extends Widget
|
||||
* by the "options" set in individual [[items]]. The following special options are recognized:
|
||||
*
|
||||
* - tag: string, defaults to "div", the tag name of the item container tags.
|
||||
*
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $itemOptions = [];
|
||||
/**
|
||||
* @var array list of HTML attributes for the header container tags. This will be overwritten
|
||||
* by the "headerOptions" set in individual [[items]].
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $headerOptions = [];
|
||||
/**
|
||||
|
||||
@@ -24,6 +24,7 @@ class Widget extends \yii\base\Widget
|
||||
public static $theme = 'yii\jui\ThemeAsset';
|
||||
/**
|
||||
* @var array the HTML attributes for the widget container tag.
|
||||
* See [[\yii\helpers\Html::renderTagAttributes()]] for details on how attributes are being rendered.
|
||||
*/
|
||||
public $options = [];
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user