ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (ilObjBadgeAdministrationGUI $parentObj, protected bool $has_write=false) | |
getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, ?array $filter_data, ?array $additional_parameters) | |
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... | |
getColumns () | |
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... | |
Private Member Functions | |
enrichRecord (ModalBuilder $modal_builder, string $container_deleted_title_part, array $record) | |
getRecords () | |
getActions (URLBuilder $url_builder, URLBuilderToken $action_parameter_token, URLBuilderToken $row_id_token) | |
Private Attributes | |
const | RECORD_RAW = '__raw__' |
readonly Factory | $factory |
readonly Renderer | $renderer |
readonly ILIAS Refinery Factory | $refinery |
readonly ServerRequestInterface RequestInterface | $request |
readonly Services | $http |
readonly ilLanguage | $lng |
readonly ilGlobalTemplateInterface | $tpl |
readonly ilObjBadgeAdministrationGUI | $parent_obj |
readonly ilAccessHandler | $access |
readonly ILIAS ResourceStorage Services | $irss |
readonly ilBadgeImage | $badge_image_service |
array | $cached_records = null |
array | $has_access_by_parent_cache = [] |
array | $first_ref_id_for_parent_cache = [] |
Definition at line 49 of file class.ilObjectBadgeTableGUI.php.
ILIAS\Badge\ilObjectBadgeTableGUI::__construct | ( | ilObjBadgeAdministrationGUI | $parentObj, |
protected bool | $has_write = false |
||
) |
Definition at line 82 of file class.ilObjectBadgeTableGUI.php.
References $DIC, ILIAS\Repository\access(), factory(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and renderer().
|
private |
array{ | id: int, active: bool, type: string, title_sortable: string, container_sortable: string, raw: array{ id: int, parent_id: int, type_id: string, active: int, title: ?string, descr: ?string, conf: ?string, image: ?string, valid: ?string, crit: ?string, image_rid: ?string, parent_title: ?string, parent_type: ?string, deleted: bool } } $record |
Definition at line 210 of file class.ilObjectBadgeTableGUI.php.
References $ref_id, ilObject\_getAllReferences(), ilObject\_getIcon(), ILIAS\Repository\access(), ILIAS\Badge\ModalBuilder\constructModal(), factory(), ILIAS\Badge\ilBadgeImage\IMAGE_SIZE_XL, ILIAS\Repository\lng(), null, renderer(), ILIAS\Badge\ModalBuilder\renderModal(), and ILIAS\Badge\ModalBuilder\renderShyButton().
Referenced by ILIAS\Badge\ilObjectBadgeTableGUI\getRows().
|
private |
Definition at line 403 of file class.ilObjectBadgeTableGUI.php.
References factory(), ILIAS\Repository\lng(), and ILIAS\UI\URLBuilder\withParameter().
Referenced by ILIAS\Badge\ilObjectBadgeTableGUI\renderTable().
ILIAS\Badge\ilObjectBadgeTableGUI::getColumns | ( | ) |
Definition at line 382 of file class.ilObjectBadgeTableGUI.php.
References factory(), and ILIAS\Repository\lng().
Referenced by ILIAS\Badge\ilObjectBadgeTableGUI\renderTable().
|
private |
Definition at line 346 of file class.ilObjectBadgeTableGUI.php.
References ILIAS\Badge\ilObjectBadgeTableGUI\$cached_records, ilBadge\getExtendedTypeCaption(), ilBadgeHandler\getInstance(), ilBadge\getObjectInstances(), ILIAS\Repository\lng(), and null.
Referenced by ILIAS\Badge\ilObjectBadgeTableGUI\getRows(), and ILIAS\Badge\ilObjectBadgeTableGUI\getTotalRowCount().
ILIAS\Badge\ilObjectBadgeTableGUI::getRows | ( | DataRowBuilder | $row_builder, |
array | $visible_column_ids, | ||
Range | $range, | ||
Order | $order, | ||
?array | $filter_data, | ||
?array | $additional_parameters | ||
) |
Definition at line 105 of file class.ilObjectBadgeTableGUI.php.
References ILIAS\Data\Order\DESC, ILIAS\Badge\ilObjectBadgeTableGUI\enrichRecord(), ILIAS\Data\Range\getLength(), ILIAS\Badge\ilObjectBadgeTableGUI\getRecords(), ILIAS\Data\Range\getStart(), ILIAS\Data\Order\join(), and ILIAS\Repository\lng().
ILIAS\Badge\ilObjectBadgeTableGUI::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 168 of file class.ilObjectBadgeTableGUI.php.
References ILIAS\Badge\ilObjectBadgeTableGUI\getRecords().
ILIAS\Badge\ilObjectBadgeTableGUI::renderTable | ( | string | $url | ) |
Definition at line 435 of file class.ilObjectBadgeTableGUI.php.
References $id, $out, ILIAS\Data\Order\ASC, factory(), ILIAS\Badge\ilObjectBadgeTableGUI\getActions(), ILIAS\Badge\ilObjectBadgeTableGUI\getColumns(), ilBadge\getObjectInstances(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Filesystem\Stream\Streams\ofString(), ILIAS\Repository\refinery(), and renderer().
|
private |
Definition at line 61 of file class.ilObjectBadgeTableGUI.php.
|
private |
Definition at line 63 of file class.ilObjectBadgeTableGUI.php.
|
private |
Definition at line 76 of file class.ilObjectBadgeTableGUI.php.
Referenced by ILIAS\Badge\ilObjectBadgeTableGUI\getRecords().
|
private |
Definition at line 53 of file class.ilObjectBadgeTableGUI.php.
|
private |
Definition at line 80 of file class.ilObjectBadgeTableGUI.php.
|
private |
Definition at line 78 of file class.ilObjectBadgeTableGUI.php.
|
private |
Definition at line 57 of file class.ilObjectBadgeTableGUI.php.
|
private |
Definition at line 62 of file class.ilObjectBadgeTableGUI.php.
|
private |
Definition at line 58 of file class.ilObjectBadgeTableGUI.php.
|
private |
Definition at line 60 of file class.ilObjectBadgeTableGUI.php.
Definition at line 55 of file class.ilObjectBadgeTableGUI.php.
|
private |
Definition at line 54 of file class.ilObjectBadgeTableGUI.php.
|
private |
Definition at line 56 of file class.ilObjectBadgeTableGUI.php.
|
private |
Definition at line 59 of file class.ilObjectBadgeTableGUI.php.
|
private |
Definition at line 51 of file class.ilObjectBadgeTableGUI.php.