33 string $a_template_context =
'' 46 $column[
'width'] ??
'',
47 isset($column[
'is_checkbox']) && (
bool) $column[
'is_checkbox']
83 return trim($row[$column]);
103 if (array_key_exists($index, $columnDefinition)) {
110 is_array($this->visibleOptionalColumns) &&
111 array_key_exists(
$column[
'field'], $this->visibleOptionalColumns)
120 final protected function fillRow(array $row): void
129 $this->tpl->setCurrentBlock(
'column');
131 if ((
string) $value ===
'') {
132 $this->tpl->touchBlock(
'column');
134 $this->tpl->setVariable(
'COLUMN_VALUE', $value);
137 $this->tpl->parseCurrentBlock();
164 $filter = (array) $this->
filter;
166 foreach ($this->optional_filter as
$key => $value) {
168 $filter[
$key] = $value;
onBeforeDataFetched(array &$params, array &$filter)
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
formatCellValue(string $column, array $row)
Define a final formatting for a cell value.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
prepareRow(array &$row)
This method can be used to add some field values dynamically or manipulate existing values of the tab...
setProvider(ilAccessibilityTableDataProvider $provider)
__construct(object $a_parent_obj, string $command='', string $a_template_context='')
array $visibleOptionalColumns
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?
resetOffset(bool $a_in_determination=false)
preProcessData(array &$data)
getExternalSegmentation()
ilAccessibilityTableDataProvider $provider
determineSelectedFilters()
isColumnVisible(int $index)
__construct(Container $dic, ilPlugin $plugin)
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)
determineOffsetAndOrder(bool $a_omit_offset=false)
setMaxCount(int $a_max_count)
set max.