PHP 클래스 skeeks\cms\grid\BooleanColumn

상속: extends yii\grid\DataColumn
파일 보기 프로젝트 열기: skeeks-cms/cms 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$falseIcon icon/indicator for the false value. If this is null, it will use the value from falseLabel. If GridView bootstrap property is set to true - it will default to [[GridView::ICON_INACTIVE]]
$falseLabel label for the false value. Defaults to Inactive.
$falseValue null
$format in which format should the value of each data model be displayed Defaults to raw. [[\yii\base\Formatter::format()]] or [[\yii\i18n\Formatter::format()]] is used.
$hAlign the horizontal alignment of each column. Should be one of 'left', 'right', or 'center'. Defaults to center.
$pageSummary the page summary that is displayed above the footer. Defaults to false.
$showNullAsFalse whether to show null value as a false icon.
$trueIcon icon/indicator for the true value. If this is not set, it will use the value from trueLabel. If GridView bootstrap property is set to true - it will default to [[GridView::ICON_ACTIVE]]
$trueLabel label for the true value. Defaults to Active.
$trueValue
$width the width of each column (matches the CSS width property). Defaults to 90px.

공개 메소드들

메소드 설명
getDataCellValue ( $model, $key, $index )
init ( )

메소드 상세

getDataCellValue() 공개 메소드

public getDataCellValue ( $model, $key, $index )

init() 공개 메소드

public init ( )

프로퍼티 상세

$falseIcon 공개적으로 프로퍼티

icon/indicator for the false value. If this is null, it will use the value from falseLabel. If GridView bootstrap property is set to true - it will default to [[GridView::ICON_INACTIVE]]
public $falseIcon

$falseLabel 공개적으로 프로퍼티

label for the false value. Defaults to Inactive.
public $falseLabel

$falseValue 공개적으로 프로퍼티

public null $falseValue
리턴 null

$format 공개적으로 프로퍼티

in which format should the value of each data model be displayed Defaults to raw. [[\yii\base\Formatter::format()]] or [[\yii\i18n\Formatter::format()]] is used.
public $format

$hAlign 공개적으로 프로퍼티

the horizontal alignment of each column. Should be one of 'left', 'right', or 'center'. Defaults to center.
public $hAlign

$pageSummary 공개적으로 프로퍼티

the page summary that is displayed above the footer. Defaults to false.
public $pageSummary

$showNullAsFalse 공개적으로 프로퍼티

whether to show null value as a false icon.
public $showNullAsFalse

$trueIcon 공개적으로 프로퍼티

icon/indicator for the true value. If this is not set, it will use the value from trueLabel. If GridView bootstrap property is set to true - it will default to [[GridView::ICON_ACTIVE]]
public $trueIcon

$trueLabel 공개적으로 프로퍼티

label for the true value. Defaults to Active.
public $trueLabel

$trueValue 공개적으로 프로퍼티

public $trueValue

$width 공개적으로 프로퍼티

the width of each column (matches the CSS width property). Defaults to 90px.
또한 보기: http://www.w3schools.com/cssref/pr_dim_width.asp
public $width