ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct () | |
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... | |
renderTable (string $url) | |
Protected Member Functions | |
getActions (URLBuilder $url_builder, URLBuilderToken $action_parameter_token, URLBuilderToken $row_id_token) | |
Private Member Functions | |
enrichRecord (array $record, array &$access_cache, array &$ref_id_cache) | |
getRecords () | |
getColumns (\ILIAS\Data\DateFormat\DateFormat $date_format) | |
Private Attributes | |
readonly Factory | $factory |
readonly Renderer | $renderer |
readonly ServerRequestInterface RequestInterface | $request |
readonly ilLanguage | $lng |
readonly ilGlobalTemplateInterface | $tpl |
readonly ILIAS DI Container | $dic |
readonly ilObjUser | $user |
readonly ilAccessHandler | $access |
readonly Tile | $tile |
readonly IRSS | $irss |
array | $cached_records = null |
ilObjectDataCache | $object_data_cache |
$parent_metadata_cache = [] | |
Definition at line 39 of file class.ilBadgePersonalTableGUI.php.
ilBadgePersonalTableGUI::__construct | ( | ) |
Definition at line 72 of file class.ilBadgePersonalTableGUI.php.
References $DIC, ILIAS\Repository\access(), factory(), ILIAS\Repository\lng(), renderer(), and ILIAS\Repository\user().
|
private |
array{ | id: int, title_sortable: string, awarded_by_sortable: string, badge_issued_on: DateTimeImmutable, active: bool, assignment: ilBadgeAssignment, badge: ilBadge } $record |
array<int,bool> | $access_cache |
array<int,int> | $ref_id_cache |
Definition at line 168 of file class.ilBadgePersonalTableGUI.php.
References $access, $ref_id, ilObject\_getAllReferences(), ILIAS\Repository\access(), null, and renderer().
Referenced by getRows().
|
protected |
Definition at line 336 of file class.ilBadgePersonalTableGUI.php.
References factory(), ILIAS\Repository\lng(), and ILIAS\UI\URLBuilder\withParameter().
Referenced by renderTable().
|
private |
Definition at line 312 of file class.ilBadgePersonalTableGUI.php.
References factory(), and ILIAS\Repository\lng().
Referenced by renderTable().
|
private |
Definition at line 261 of file class.ilBadgePersonalTableGUI.php.
References $cached_records, ilBadgeAssignment\getInstancesByUserId(), ilBadge\getParentMeta(), null, and ILIAS\Repository\user().
Referenced by getRows(), and getTotalRowCount().
ilBadgePersonalTableGUI::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 88 of file class.ilBadgePersonalTableGUI.php.
References ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), enrichRecord(), ILIAS\Data\Range\getLength(), getRecords(), ILIAS\Data\Range\getStart(), ILIAS\Data\Order\join(), and ilStr\strCmp().
ilBadgePersonalTableGUI::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 243 of file class.ilBadgePersonalTableGUI.php.
References getRecords().
ilBadgePersonalTableGUI::renderTable | ( | string | $url | ) |
Definition at line 356 of file class.ilBadgePersonalTableGUI.php.
References factory(), getActions(), getColumns(), ILIAS\Repository\lng(), renderer(), and ILIAS\Repository\user().
|
private |
Definition at line 48 of file class.ilBadgePersonalTableGUI.php.
Referenced by enrichRecord().
|
private |
Definition at line 64 of file class.ilBadgePersonalTableGUI.php.
Referenced by getRecords().
|
private |
Definition at line 46 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 41 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 50 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 44 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 65 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 70 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 42 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 43 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 49 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 45 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 47 of file class.ilBadgePersonalTableGUI.php.