PHP 클래스 TbGridView

상속: extends CGridView
파일 보기 프로젝트 열기: yinhe/yincart 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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