|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Badge\ilObjectBadgeTableGUI:
Collaboration diagram for ILIAS\Badge\ilObjectBadgeTableGUI:Public Member Functions | |
| __construct (ilObjBadgeAdministrationGUI $parentObj, protected bool $has_write=false) | |
| getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
| getTotalRowCount (mixed $additional_viewcontrol_data, mixed $filter_data, mixed $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, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
| getTotalRowCount (mixed $additional_viewcontrol_data, mixed $filter_data, mixed $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 | |
| 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().
Here is the call graph for this function:
|
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 212 of file class.ilObjectBadgeTableGUI.php.
|
private |
Definition at line 405 of file class.ilObjectBadgeTableGUI.php.
| ILIAS\Badge\ilObjectBadgeTableGUI::getColumns | ( | ) |
Definition at line 384 of file class.ilObjectBadgeTableGUI.php.
References factory(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 348 of file class.ilObjectBadgeTableGUI.php.
References ilBadge\getExtendedTypeCaption(), ilBadgeHandler\getInstance(), ilBadge\getObjectInstances(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\Badge\ilObjectBadgeTableGUI::getRows | ( | DataRowBuilder | $row_builder, |
| array | $visible_column_ids, | ||
| Range | $range, | ||
| Order | $order, | ||
| mixed | $additional_viewcontrol_data, | ||
| mixed | $filter_data, | ||
| mixed | $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 105 of file class.ilObjectBadgeTableGUI.php.
References ILIAS\Data\Order\DESC, and ILIAS\Data\Order\join().
Here is the call graph for this function:| ILIAS\Badge\ilObjectBadgeTableGUI::getTotalRowCount | ( | mixed | $additional_viewcontrol_data, |
| mixed | $filter_data, | ||
| mixed | $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 class.ilObjectBadgeTableGUI.php.
| ILIAS\Badge\ilObjectBadgeTableGUI::renderTable | ( | string | $url | ) |
Definition at line 437 of file class.ilObjectBadgeTableGUI.php.
References $id, $out, $url, factory(), ilBadge\getObjectInstances(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and renderer().
Here is the call graph for this function:
|
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.
|
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.