|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for ILIAS\AccessControl\Log\Table:
Collaboration diagram for ILIAS\AccessControl\Log\Table:Public Member Functions | |
| __construct (private readonly \ilRbacLog $rbac_log, private readonly UIFactory $ui_factory, private readonly DataFactory $data_factory, private readonly \ilLanguage $lng, private readonly \ilCtrl $ctrl, private readonly \ilUIService $ui_service, private readonly \ilObjectDefinition $object_definition, private readonly RequestInterface $request, \ilRbacReview $rbac_review, private readonly \ilObjUser $current_user, private readonly \ilObjectGUI $gui_object) | |
| getTableAndFilter () | |
| getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, ?array $filter_data, ?array $additional_parameters) | |
| This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
| getTotalRowCount (?array $filter_data, ?array $additional_parameters) | |
| Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
Private Member Functions | |
| getTable () | |
| getFilter () | |
| getRefId () | |
| buildUserDateTimeFormat () | |
| applyFilterValuesTrafos (array $filter_values) | |
| buildChangeColumn (int $action, array $data) | |
| parseChangesFaPa (array $raw) | |
| parseChangesTemplate (array $raw) | |
| getOPCaption (string $type, array|int|string $op) | |
| getNonCreateTranslation (string $type, string $op_id) | |
| getCreateTranslation (string $type, string $op_id) | |
| getTranslationFromPlugin (string $type, string $op_id) | |
| isTranslated (?string $perm, string $op_id) | |
Private Attributes | |
| const | FILTER_ID = 'perm_table_filter' |
| const | FILTER_FIELD_ACTION = 'action' |
| const | FILTER_FIELD_PERIOD = 'period' |
| const | COLUMN_DATE = 'created' |
| const | COLUMN_NAME = 'name' |
| const | COLUMN_LOGIN = 'login' |
| const | COLUMN_ACTION = 'action' |
| const | COLUMN_CHANGES = 'changes' |
| array | $filter_data |
| array | $action_map = [] |
| array | $operations = [] |
| ILIAS\AccessControl\Log\Table::__construct | ( | private readonly \ilRbacLog | $rbac_log, |
| private readonly UIFactory | $ui_factory, | ||
| private readonly DataFactory | $data_factory, | ||
| private readonly \ilLanguage | $lng, | ||
| private readonly \ilCtrl | $ctrl, | ||
| private readonly \ilUIService | $ui_service, | ||
| private readonly \ilObjectDefinition | $object_definition, | ||
| private readonly RequestInterface | $request, | ||
| \ilRbacReview | $rbac_review, | ||
| private readonly \ilObjUser | $current_user, | ||
| private readonly \ilObjectGUI | $gui_object | ||
| ) |
Definition at line 54 of file Table.php.
References ilRbacLog\CHANGE_OWNER, ilRbacLog\COPY_OBJECT, ilRbacLog\CREATE_OBJECT, ilRbacLog\EDIT_PERMISSIONS, ilRbacLog\EDIT_TEMPLATE, ilRbacLog\EDIT_TEMPLATE_EXISTING, ilRbacReview\getOperations(), ilRbacLog\LINK_OBJECT, ILIAS\Repository\lng(), and ilRbacLog\MOVE_OBJECT.
Here is the call graph for this function:
|
private |
Definition at line 194 of file Table.php.
Referenced by ILIAS\AccessControl\Log\Table\getFilter().
Here is the caller graph for this function:
|
private |
Definition at line 214 of file Table.php.
References ilObjUser\_lookupFullname(), ilRbacLog\CHANGE_OWNER, ilRbacLog\EDIT_TEMPLATE, ILIAS\AccessControl\Log\Table\parseChangesFaPa(), and ILIAS\AccessControl\Log\Table\parseChangesTemplate().
Referenced by ILIAS\AccessControl\Log\Table\getRows().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 185 of file Table.php.
References ilCalendarSettings\TIME_FORMAT_24.
Referenced by ILIAS\AccessControl\Log\Table\getTable().
Here is the caller graph for this function:
|
private |
Definition at line 330 of file Table.php.
References ILIAS\AccessControl\Log\Table\getTranslationFromPlugin(), ILIAS\AccessControl\Log\Table\isTranslated(), and ILIAS\Repository\lng().
Referenced by ILIAS\AccessControl\Log\Table\getOPCaption().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 112 of file Table.php.
References ILIAS\AccessControl\Log\Table\$action_map, ILIAS\UI\Implementation\Component\Input\$inputs, ILIAS\AccessControl\Log\Table\applyFilterValuesTrafos(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by ILIAS\AccessControl\Log\Table\getTableAndFilter().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 316 of file Table.php.
References ILIAS\AccessControl\Log\Table\getTranslationFromPlugin(), ILIAS\AccessControl\Log\Table\isTranslated(), and ILIAS\Repository\lng().
Referenced by ILIAS\AccessControl\Log\Table\getOPCaption().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 292 of file Table.php.
References $c, ILIAS\AccessControl\Log\Table\getCreateTranslation(), and ILIAS\AccessControl\Log\Table\getNonCreateTranslation().
Referenced by ILIAS\AccessControl\Log\Table\parseChangesFaPa(), and ILIAS\AccessControl\Log\Table\parseChangesTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 176 of file Table.php.
References ROLE_FOLDER_ID, and ROOT_FOLDER_ID.
Referenced by ILIAS\AccessControl\Log\Table\getRows(), and ILIAS\AccessControl\Log\Table\getTotalRowCount().
Here is the caller graph for this function:| ILIAS\AccessControl\Log\Table::getRows | ( | DataRowBuilder | $row_builder, |
| array | $visible_column_ids, | ||
| Range | $range, | ||
| Order | $order, | ||
| ?array | $filter_data, | ||
| ?array | $additional_parameters | ||
| ) |
This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g.
yield $row_builder->buildStandardRow($row_id, $record).
| string[] | $visible_column_ids |
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 138 of file Table.php.
References ilObjUser\_lookupName(), ILIAS\AccessControl\Log\Table\buildChangeColumn(), ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), and ILIAS\AccessControl\Log\Table\getRefId().
Here is the call graph for this function:
|
private |
Definition at line 91 of file Table.php.
References ILIAS\AccessControl\Log\Table\buildUserDateTimeFormat(), and ILIAS\Repository\lng().
Referenced by ILIAS\AccessControl\Log\Table\getTableAndFilter().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\AccessControl\Log\Table::getTableAndFilter | ( | ) |
Definition at line 83 of file Table.php.
References ILIAS\AccessControl\Log\Table\getFilter(), and ILIAS\AccessControl\Log\Table\getTable().
Here is the call graph for this function:| ILIAS\AccessControl\Log\Table::getTotalRowCount | ( | ?array | $filter_data, |
| ?array | $additional_parameters | ||
| ) |
Mainly for the purpose of pagination-support, it is important to know about the total number of records available.
Given the nature of a DataTable, which is, opposite to a PresentationTable, rather administrative than explorative, this information will increase user experience quite a bit. However, you may return null, if the call is to costly, but expect the View Control to look a little different in this case.
Make sure that potential filters or user restrictions are being applied to the count.
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 169 of file Table.php.
References ILIAS\AccessControl\Log\Table\getRefId().
Here is the call graph for this function:
|
private |
Definition at line 342 of file Table.php.
Referenced by ILIAS\AccessControl\Log\Table\getCreateTranslation(), and ILIAS\AccessControl\Log\Table\getNonCreateTranslation().
Here is the caller graph for this function:
|
private |
Definition at line 350 of file Table.php.
Referenced by ILIAS\AccessControl\Log\Table\getCreateTranslation(), and ILIAS\AccessControl\Log\Table\getNonCreateTranslation().
Here is the caller graph for this function:
|
private |
Definition at line 228 of file Table.php.
References ilObjRole\_getTranslation(), ilObject\_lookupObjectId(), ilObject\_lookupTitle(), ILIAS\AccessControl\Log\Table\getOPCaption(), and ILIAS\Repository\lng().
Referenced by ILIAS\AccessControl\Log\Table\buildChangeColumn().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 276 of file Table.php.
References ILIAS\AccessControl\Log\Table\getOPCaption(), and ILIAS\Repository\lng().
Referenced by ILIAS\AccessControl\Log\Table\buildChangeColumn().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 51 of file Table.php.
Referenced by ILIAS\AccessControl\Log\Table\getFilter().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |