ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
|
Public Member Functions | |
__construct (private readonly ?int $parent_ref_id=null, private readonly ?ilBadge $award_badge=null, private readonly ?int $parent_obj_id=null, private readonly ?int $restrict_badge_id=null) | |
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 | |
getActions (URLBuilder $url_builder, URLBuilderToken $action_parameter_token, URLBuilderToken $row_id_token,) | |
Private Attributes | |
readonly Factory | $factory |
readonly Renderer | $renderer |
readonly ServerRequestInterface RequestInterface | $request |
readonly ilLanguage | $lng |
readonly ilGlobalTemplateInterface | $tpl |
readonly ilTree | $tree |
readonly ilObjUser | $user |
DateFormat | $date_format |
bool | $is_container_context = false |
array | $cached_records = null |
Definition at line 50 of file class.ilBadgeUserTableGUI.php.
ILIAS\Badge\ilBadgeUserTableGUI::__construct | ( | private readonly ?int | $parent_ref_id = null , |
private readonly ?ilBadge | $award_badge = null , |
||
private readonly ?int | $parent_obj_id = null , |
||
private readonly ?int | $restrict_badge_id = null |
||
) |
Definition at line 76 of file class.ilBadgeUserTableGUI.php.
References ILIAS\Badge\ilBadgeUserTableGUI\$cached_records, $DIC, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), factory(), ilBadge\getExtendedTypeCaption(), ilBadgeHandler\getInstance(), ilBadge\getInstancesByParentId(), ilBadgeAssignment\getInstancesByParentId(), ILIAS\Repository\int(), ILIAS\Repository\lng(), null, renderer(), and ILIAS\Repository\user().
|
private |
Definition at line 322 of file class.ilBadgeUserTableGUI.php.
References factory(), ILIAS\Repository\lng(), and ILIAS\UI\URLBuilder\withParameter().
Referenced by ILIAS\Badge\ilBadgeUserTableGUI\renderTable().
ILIAS\Badge\ilBadgeUserTableGUI::getColumns | ( | ) |
Definition at line 301 of file class.ilBadgeUserTableGUI.php.
References factory(), and ILIAS\Repository\lng().
Referenced by ILIAS\Badge\ilBadgeUserTableGUI\renderTable().
ILIAS\Badge\ilBadgeUserTableGUI::getRows | ( | DataRowBuilder | $row_builder, |
array | $visible_column_ids, | ||
Range | $range, | ||
Order | $order, | ||
?array | $filter_data, | ||
?array | $additional_parameters | ||
) |
Definition at line 236 of file class.ilBadgeUserTableGUI.php.
References ILIAS\Data\Range\getLength(), ILIAS\Data\Range\getStart(), ILIAS\Data\Order\join(), and null.
ILIAS\Badge\ilBadgeUserTableGUI::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 291 of file class.ilBadgeUserTableGUI.php.
ILIAS\Badge\ilBadgeUserTableGUI::renderTable | ( | string | $url | ) |
Definition at line 343 of file class.ilBadgeUserTableGUI.php.
References $out, ilObject\_lookupTitle(), ILIAS\Data\Order\ASC, factory(), ilObjectDataDeletionLog\get(), ILIAS\Badge\ilBadgeUserTableGUI\getActions(), ILIAS\Badge\ilBadgeUserTableGUI\getColumns(), ILIAS\Repository\lng(), renderer(), and ILIAS\Repository\user().
|
private |
Definition at line 74 of file class.ilBadgeUserTableGUI.php.
Referenced by ILIAS\Badge\ilBadgeUserTableGUI\__construct().
|
private |
Definition at line 59 of file class.ilBadgeUserTableGUI.php.
|
private |
Definition at line 52 of file class.ilBadgeUserTableGUI.php.
|
private |
Definition at line 60 of file class.ilBadgeUserTableGUI.php.
|
private |
Definition at line 55 of file class.ilBadgeUserTableGUI.php.
|
private |
Definition at line 53 of file class.ilBadgeUserTableGUI.php.
|
private |
Definition at line 54 of file class.ilBadgeUserTableGUI.php.
|
private |
Definition at line 56 of file class.ilBadgeUserTableGUI.php.
|
private |
Definition at line 57 of file class.ilBadgeUserTableGUI.php.
|
private |
Definition at line 58 of file class.ilBadgeUserTableGUI.php.