Elgg
Version 6.1
|
A renderer for a column of table cells and a header. More...
Public Member Functions | |
renderHeading () | |
Get the rendered heading cell as HTML. More... | |
renderCell ($item, $type, $item_vars) | |
Render a value cell as HTML. More... | |
A renderer for a column of table cells and a header.
Definition at line 7 of file TableColumn.php.
Elgg\Views\TableColumn::renderCell | ( | $item, | |
$type, | |||
$item_vars | |||
) |
Render a value cell as HTML.
Cell will be auto-wrapped with a TD element if the returned string doesn't begin with "<th" or "<td".
mixed | $item | Object/row from which to pull the value |
string | $type | Type of object |
array | $item_vars | Parameters from the listing function |
Implemented in Elgg\Views\TableColumn\ViewColumn, and Elgg\Views\TableColumn\CallableColumn.
Elgg\Views\TableColumn::renderHeading | ( | ) |
Get the rendered heading cell as HTML.
Cell will be auto-wrapped with a TH element if the returned string doesn't begin with "<th" or "<td".
Implemented in Elgg\Views\TableColumn\ViewColumn, and Elgg\Views\TableColumn\CallableColumn.