PHP Class TbJsonDataColumn

Inheritance: extends TbJsonGridColumn
Show file Open project: yinhe/yincart

Public Methods

Method Description
renderDataCell ( integer $row ) : array | void Renders a data cell.
renderDataCellContent ( integer $row, mixed $data ) : string | void Renders the data cell content.

Method Details

renderDataCell() public method

Renders a data cell.
public renderDataCell ( integer $row ) : array | void
$row integer the row number (zero-based)
return array | void

renderDataCellContent() public method

This method evaluates {@link value} or {@link name} and renders the result.
public renderDataCellContent ( integer $row, mixed $data ) : string | void
$row integer the row number (zero-based)
$data mixed the data associated with the row
return string | void