ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (int $parent_obj_id, string $parent_obj_type, protected bool $has_write=false) | |
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) | |
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 | |
getRecords () | |
enrichRecord (ModalBuilder $modal_builder, array $record) | |
getColumns () | |
getActions (URLBuilder $url_builder, URLBuilderToken $action_parameter_token, URLBuilderToken $row_id_token,) | |
Private Attributes | |
readonly Factory | $factory |
readonly Renderer | $renderer |
readonly ILIAS Refinery Factory | $refinery |
readonly ServerRequestInterface RequestInterface | $request |
readonly Services | $http |
readonly int | $parent_id |
readonly string | $parent_type |
readonly ilLanguage | $lng |
readonly ilGlobalTemplateInterface | $tpl |
readonly ILIAS ResourceStorage Services | $irss |
readonly ilBadgeImage | $badge_image_service |
array | $cached_records = null |
Definition at line 42 of file class.ilBadgeTableGUI.php.
ILIAS\Badge\ilBadgeTableGUI::__construct | ( | int | $parent_obj_id, |
string | $parent_obj_type, | ||
protected bool | $has_write = false |
||
) |
Definition at line 69 of file class.ilBadgeTableGUI.php.
References $DIC, factory(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and renderer().
|
private |
array{ | id: int, badge: ilBadge, active: bool, type: string, manual: bool, title_sortable: string } $record |
Definition at line 146 of file class.ilBadgeTableGUI.php.
References ILIAS\Badge\ModalBuilder\constructModal(), factory(), ILIAS\Badge\ilBadgeImage\IMAGE_SIZE_XL, renderer(), ILIAS\Badge\ModalBuilder\renderModal(), and ILIAS\Badge\ModalBuilder\renderShyButton().
|
private |
Definition at line 293 of file class.ilBadgeTableGUI.php.
|
private |
Definition at line 273 of file class.ilBadgeTableGUI.php.
References factory(), and ILIAS\Repository\lng().
|
private |
Definition at line 101 of file class.ilBadgeTableGUI.php.
References ILIAS\Badge\ilBadgeTableGUI\$cached_records, ilBadge\getExtendedTypeCaption(), and ilBadge\getInstancesByParentId().
ILIAS\Badge\ilBadgeTableGUI::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 197 of file class.ilBadgeTableGUI.php.
References ILIAS\Data\Order\DESC, and ILIAS\Data\Order\join().
ILIAS\Badge\ilBadgeTableGUI::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 263 of file class.ilBadgeTableGUI.php.
ILIAS\Badge\ilBadgeTableGUI::renderTable | ( | string | $url | ) |
Definition at line 331 of file class.ilBadgeTableGUI.php.
References $id, $out, $url, factory(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and renderer().
|
private |
Definition at line 54 of file class.ilBadgeTableGUI.php.
|
private |
Definition at line 67 of file class.ilBadgeTableGUI.php.
Referenced by ILIAS\Badge\ilBadgeTableGUI\getRecords().
|
private |
Definition at line 44 of file class.ilBadgeTableGUI.php.
|
private |
Definition at line 48 of file class.ilBadgeTableGUI.php.
|
private |
Definition at line 53 of file class.ilBadgeTableGUI.php.
|
private |
Definition at line 51 of file class.ilBadgeTableGUI.php.
|
private |
Definition at line 49 of file class.ilBadgeTableGUI.php.
|
private |
Definition at line 50 of file class.ilBadgeTableGUI.php.
Definition at line 46 of file class.ilBadgeTableGUI.php.
|
private |
Definition at line 45 of file class.ilBadgeTableGUI.php.
|
private |
Definition at line 47 of file class.ilBadgeTableGUI.php.
|
private |
Definition at line 52 of file class.ilBadgeTableGUI.php.