PHP Класс TbGridView

Наследование: extends CGridView
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$cssFile the URL of the CSS file used by this grid view. Defaults to false, meaning that no CSS will be included.
$extraParams of additional parameters to pass to values
$pager the configuration for the pager. Defaults to array('class'=>'ext.bootstrap.widgets.TbPager').
$pagerCssClass the CSS class name for the pager container. Defaults to 'pagination'.
$responsiveTable whether to make the grid responsive
$type the table type. Valid values are 'striped', 'bordered', 'condensed' and/or 'hover'.

Открытые методы

Метод Описание
init ( ) ### .init()

Защищенные методы

Метод Описание
createDataColumn ( mixed $text ) : TbDataColumn | CDataColumn ### .createDataColumn()
initColumns ( ) ### .initColumns()
writeResponsiveCss ( ) ### .writeResponsiveCss()

Описание методов

createDataColumn() защищенный Метод

Creates a column based on a shortcut column specification string.
protected createDataColumn ( mixed $text ) : TbDataColumn | CDataColumn
$text mixed the column specification string
Результат TbDataColumn | CDataColumn the column instance

init() публичный Метод

Initializes the widget.
public init ( )

initColumns() защищенный Метод

Creates column objects and initializes them.
protected initColumns ( )

writeResponsiveCss() защищенный Метод

Writes responsiveCSS
protected writeResponsiveCss ( )

Описание свойств

$cssFile публичное свойство

the URL of the CSS file used by this grid view. Defaults to false, meaning that no CSS will be included.
public $cssFile

$extraParams публичное свойство

of additional parameters to pass to values
public $extraParams

$pager публичное свойство

the configuration for the pager. Defaults to array('class'=>'ext.bootstrap.widgets.TbPager').
public $pager

$pagerCssClass публичное свойство

the CSS class name for the pager container. Defaults to 'pagination'.
public $pagerCssClass

$responsiveTable публичное свойство

whether to make the grid responsive
public $responsiveTable

$type публичное свойство

the table type. Valid values are 'striped', 'bordered', 'condensed' and/or 'hover'.
public $type