ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
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 () | |
Protected Member Functions | |
getActions (URLBuilder $url_builder, URLBuilderToken $action_parameter_token, URLBuilderToken $row_id_token) | |
Private Member Functions | |
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 |
array | $cached_records = null |
Definition at line 38 of file class.ilBadgePersonalTableGUI.php.
ilBadgePersonalTableGUI::__construct | ( | ) |
Definition at line 63 of file class.ilBadgePersonalTableGUI.php.
References $DIC, ILIAS\Repository\access(), factory(), ILIAS\Repository\lng(), renderer(), and ILIAS\Repository\user().
|
protected |
Definition at line 248 of file class.ilBadgePersonalTableGUI.php.
References factory(), ILIAS\Repository\lng(), and ILIAS\UI\URLBuilder\withParameter().
Referenced by renderTable().
|
private |
Definition at line 224 of file class.ilBadgePersonalTableGUI.php.
References factory(), and ILIAS\Repository\lng().
Referenced by renderTable().
|
private |
Definition at line 145 of file class.ilBadgePersonalTableGUI.php.
References $cached_records, $ref_id, ilObject\_getAllReferences(), ILIAS\Repository\access(), ilBadgeAssignment\getInstancesByUserId(), ilBadge\getParentMeta(), null, renderer(), 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 77 of file class.ilBadgePersonalTableGUI.php.
References ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), 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 126 of file class.ilBadgePersonalTableGUI.php.
References getRecords().
ilBadgePersonalTableGUI::renderTable | ( | ) |
Definition at line 268 of file class.ilBadgePersonalTableGUI.php.
References factory(), getActions(), getColumns(), ILIAS\Repository\lng(), renderer(), ilCalendarSettings\TIME_FORMAT_12, and ILIAS\Repository\user().
|
private |
Definition at line 47 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 61 of file class.ilBadgePersonalTableGUI.php.
Referenced by getRecords().
|
private |
Definition at line 45 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 40 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 43 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 41 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 42 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 48 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 44 of file class.ilBadgePersonalTableGUI.php.
|
private |
Definition at line 46 of file class.ilBadgePersonalTableGUI.php.