PHP 클래스 TbJsonPickerColumn

The TbJsonPickerColumn works with TbJsonGridView and allows you to create a column that will display a picker element The picker is a special plugin that renders a dropdown on click, which contents can be dynamically updated.
저자: : antonio ramirez ([email protected])
상속: extends TbJsonDataColumn
파일 보기 프로젝트 열기: yinhe/yincart

공개 프로퍼티들

프로퍼티 타입 설명
$class string the class name to use to display picker
$pickerOptions array the javascript options for the picker bootstrap plugin. The picker bootstrap plugin extends from the tooltip plugin. Note that picker has also a 'width' just in case we display AJAX'ed content.

공개 메소드들

메소드 설명
init ( ) Initialization function
registerClientScript ( ) Registers client script data
renderDataCellContent ( integer $row, mixed $data ) : string | void Renders a data cell content, wrapping the value with the link that will activate the picker

메소드 상세

init() 공개 메소드

Initialization function
public init ( )

registerClientScript() 공개 메소드

Registers client script data

renderDataCellContent() 공개 메소드

Renders a data cell content, wrapping the value with the link that will activate the picker
public renderDataCellContent ( integer $row, mixed $data ) : string | void
$row integer
$data mixed
리턴 string | void

프로퍼티 상세

$class 공개적으로 프로퍼티

the class name to use to display picker
public string $class
리턴 string

$pickerOptions 공개적으로 프로퍼티

the javascript options for the picker bootstrap plugin. The picker bootstrap plugin extends from the tooltip plugin. Note that picker has also a 'width' just in case we display AJAX'ed content.
또한 보기: http://twitter.github.com/bootstrap/javascript.html#tooltips
public array $pickerOptions
리턴 array