PHP 클래스 WhImageColumn

Displays images in a column
저자: Antonio Ramirez ([email protected])
상속: extends CGridColumn
파일 보기 프로젝트 열기: 2amigos/yiiwheels

공개 프로퍼티들

프로퍼티 타입 설명
$emptyText string renders if $imagePathExpression is null
$imageOptions the HTML options of the image tag
$imagePathExpression string is evaluated in every data cell and is used as the path of the image. The expression will have: $row the row number $data the data model of the row $this the column object
$placeHoldItSize string the size of the image to render if $imagePathExpression is null and $userPlaceHoldIt is set to true
$placeKittenSize string the size of the image to render if $imagePathExpression is null and $usePlaceKitten is set to true
$usePlaceHoldIt boolean
$usePlaceKitten boolean

보호된 메소드들

메소드 설명
renderDataCellContent ( integer $row, mixed $data ) Renders the data cell content

메소드 상세

renderDataCellContent() 보호된 메소드

Renders the data cell content
protected renderDataCellContent ( integer $row, mixed $data )
$row integer the row number (zero based)
$data mixed teh data associated with the row

프로퍼티 상세

$emptyText 공개적으로 프로퍼티

renders if $imagePathExpression is null
public string $emptyText
리턴 string

$imageOptions 공개적으로 프로퍼티

the HTML options of the image tag
public $imageOptions

$imagePathExpression 공개적으로 프로퍼티

is evaluated in every data cell and is used as the path of the image. The expression will have: $row the row number $data the data model of the row $this the column object
public string $imagePathExpression
리턴 string

$placeHoldItSize 공개적으로 프로퍼티

the size of the image to render if $imagePathExpression is null and $userPlaceHoldIt is set to true
public string $placeHoldItSize
리턴 string

$placeKittenSize 공개적으로 프로퍼티

the size of the image to render if $imagePathExpression is null and $usePlaceKitten is set to true
public string $placeKittenSize
리턴 string

$usePlaceHoldIt 공개적으로 프로퍼티

public bool $usePlaceHoldIt
리턴 boolean

$usePlaceKitten 공개적으로 프로퍼티

public bool $usePlaceKitten
리턴 boolean