mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 14:57:23 +08:00
Comments
This commit is contained in:
@@ -78,10 +78,11 @@ class Tabs extends Widget
|
|||||||
* - label: string, required, specifies the header link label. When [[encodeLabels]] is true, the label
|
* - label: string, required, specifies the header link label. When [[encodeLabels]] is true, the label
|
||||||
* will be HTML-encoded.
|
* will be HTML-encoded.
|
||||||
* - content: string, the content to show when corresponding tab is clicked. Can be omitted if url is specified.
|
* - content: string, the content to show when corresponding tab is clicked. Can be omitted if url is specified.
|
||||||
* - url: mixed, @todo comment
|
* - url: mixed, mixed, optional, the url to load tab contents via AJAX. It is required if no content is specified.
|
||||||
* - template: string, optional, @todo comment
|
* - template: string, optional, the header link template to render the header link. If none specified
|
||||||
* - options: array, optional, @todo comment
|
* [[linkTemplate]] will be used instead.
|
||||||
* - headerOptions: array, optional, @todo comment
|
* - options: array, optional, the HTML attributes of the header.
|
||||||
|
* - headerOptions: array, optional, the HTML attributes for the header container tag.
|
||||||
*/
|
*/
|
||||||
public $items = array();
|
public $items = array();
|
||||||
/**
|
/**
|
||||||
@@ -97,7 +98,7 @@ class Tabs extends Widget
|
|||||||
*/
|
*/
|
||||||
public $headerOptions = array();
|
public $headerOptions = array();
|
||||||
/**
|
/**
|
||||||
* @var string @todo comment
|
* @var string the default header template to render the link.
|
||||||
*/
|
*/
|
||||||
public $linkTemplate = '<a href="{url}">{label}</a>';
|
public $linkTemplate = '<a href="{url}">{label}</a>';
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user