4 require_once
'Services/Table/classes/class.ilTable2GUI.php';
67 if(array_key_exists(
$column, $this->optionalColumns) && !isset($this->visibleOptionalColumns[
$column]))
115 $this->tpl->setVariable(
'VAL_' . strtoupper($column), $value);
118 foreach($this->optionalColumns as $index => $definition)
125 $this->tpl->setCurrentBlock(
'optional_column');
127 if((
string)$value ===
'')
129 $this->tpl->touchBlock(
'optional_column');
133 $this->tpl->setVariable(
'OPTIONAL_COLUMN_VAL', $value);
136 $this->tpl->parseCurrentBlock();
180 foreach($this->optional_filter as $key => $value)
setProvider(ilTermsOfServiceTableDataProvider $provider)
Set the provider to be used for data retrieval.
getExternalSorting()
Get external sorting.
getStaticData()
Return an array of all static (always visible) data fields in a row.
resetOffset($a_in_determination=false)
Reset offset.
getOrderDirection()
Get order direction.
getExternalSegmentation()
Get external segmentation.
Create styles array
The data for the language used.
isFilterSelected($a_col)
Is given filter selected?
determineOffsetAndOrder($a_omit_offset=false)
Determine offset and order.
determineSelectedFilters()
Determine selected filters.
getProvider()
Get the registered provider instance.
prepareData(array &$data)
This method can be used to prepare values for sorting (e.g.
prepareRow(array &$row)
This method can be used to manipulate the data of a row after sorting and segmentation.
setMaxCount($a_max_count)
set max.
formatCellValue($column, array $row)
Define a final formatting for a cell value.