jui\Tabs $items

$items public property

List of tab items. Each item can be an array of the following structure:

  • label: string, required, specifies the header link label. When $encodeLabels is true, the label will be HTML-encoded.
  • content: string, the content to show when corresponding tab is clicked. Can be omitted if url is specified.
  • url: mixed, mixed, optional, the url to load tab contents via AJAX. It is required if no content is specified.
  • template: string, optional, the header link template to render the header link. If none specified $linkTemplate will be used instead.
  • options: array, optional, the HTML attributes of the header.
  • headerOptions: array, optional, the HTML attributes for the header container tag.
public array $items = []
doc_Yii
2016-10-30 17:06:39
Comments
Leave a Comment

Please login to continue.