19declare(strict_types=1);
46 isset(
$column[
'is_checkbox']) ? (
bool)
$column[
'is_checkbox'] :
false
94 return trim($row[
$column] ??
'');
114 if (array_key_exists(
$index, $columnDefinition)) {
121 is_array($this->visibleOptionalColumns) &&
122 array_key_exists(
$column[
'field'], $this->visibleOptionalColumns)
131 final protected function fillRow(array $a_set): void
140 $this->tpl->setCurrentBlock(
'column');
143 $this->tpl->touchBlock(
'column');
145 $this->tpl->setVariable(
'COLUMN_VALUE', $value);
148 $this->tpl->parseCurrentBlock();
175 foreach ($this->optional_filter as
$key => $value) {
177 $filter[
$key] = $value;
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
isFilterSelected(string $a_col)
Is given filter selected?
determineOffsetAndOrder(bool $a_omit_offset=false)
resetOffset(bool $a_in_determination=false)
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
getExternalSegmentation()
setData(array $a_data)
Set table data.
determineSelectedFilters()
setMaxCount(int $a_max_count)
set max.
array $visibleOptionalColumns
getSelectableColumns()
Get selectable columns.
isColumnVisible(int $index)
formatCellValue(string $column, array $row)
Define a final formatting for a cell value.
fillRow(array $a_set)
Standard Version of Fill Row.
__construct(ilTermsOfServiceControllerEnabled $gui, string $command)
onBeforeDataFetched(array &$params, array &$filter)
ilTermsOfServiceTableDataProvider $provider
prepareRow(array &$row)
This method can be used to add some field values dynamically or manipulate existing values of the tab...
preProcessData(array &$data)
This method can be used to process the array of all fetched data.
setProvider(ilTermsOfServiceTableDataProvider $provider)
Interface ilTermsOfServiceControllerEnabled.
Interface ilTermsOfServiceTableDataProvider.
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc