ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (private readonly ServerRequestInterface $http_request, private readonly ilLanguage $lng, private readonly UIFactory $ui_factory, private readonly DataFactory $data_factory, private readonly int $ref_id, private readonly ilParticipants $participants, private readonly ilForumNotification $forumNotificationObj, private readonly ilUIService $ui_service, private readonly string $action) | |
getRows (\ILIAS\UI\Component\Table\DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, ?array $filter_data, ?array $additional_parameters,) | |
initRecords (?array $filter_data) | |
getComponents () | |
getTableComponent () | |
getFilterComponent () | |
getFilterFields (Factory $field_factory) | |
getTotalRowCount (?array $filter_data, ?array $additional_parameters) | |
getFilteredUserIds (?array $filter_data) | |
getActions (URLBuilder $url_builder, URLBuilderToken $action_parameter_token, URLBuilderToken $row_id_token) | |
![]() | |
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 | |
getRecords (Range $range, Order $order, ?array $filter_data) | |
getUserNotificationTableData (array $user_ids) | |
limitRecords (array $records, Range $range) | |
orderRecords (array $records, Order $order) | |
getColumns () | |
Private Attributes | |
array | $records = null |
FilterComponent | $filter_component |
DataTable | $table_component |
Definition at line 48 of file ForumNotificationTable.php.
ILIAS\Forum\Notification\ForumNotificationTable::__construct | ( | private readonly ServerRequestInterface | $http_request, |
private readonly ilLanguage | $lng, | ||
private readonly UIFactory | $ui_factory, | ||
private readonly DataFactory | $data_factory, | ||
private readonly int | $ref_id, | ||
private readonly ilParticipants | $participants, | ||
private readonly ilForumNotification | $forumNotificationObj, | ||
private readonly ilUIService | $ui_service, | ||
private readonly string | $action | ||
) |
Definition at line 62 of file ForumNotificationTable.php.
ILIAS\Forum\Notification\ForumNotificationTable::getActions | ( | URLBuilder | $url_builder, |
URLBuilderToken | $action_parameter_token, | ||
URLBuilderToken | $row_id_token | ||
) |
Definition at line 328 of file ForumNotificationTable.php.
References ILIAS\Repository\lng(), and ILIAS\UI\URLBuilder\withParameter().
Referenced by ILIAS\Forum\Notification\ForumNotificationTable\getTableComponent().
|
private |
Definition at line 414 of file ForumNotificationTable.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\Forum\Notification\ForumNotificationTable\getTableComponent().
ILIAS\Forum\Notification\ForumNotificationTable::getComponents | ( | ) |
Definition at line 108 of file ForumNotificationTable.php.
References ILIAS\Forum\Notification\ForumNotificationTable\getFilterComponent(), and ILIAS\Forum\Notification\ForumNotificationTable\getTableComponent().
ILIAS\Forum\Notification\ForumNotificationTable::getFilterComponent | ( | ) |
Definition at line 150 of file ForumNotificationTable.php.
References ILIAS\Forum\Notification\ForumNotificationTable\$filter_component, and ILIAS\Forum\Notification\ForumNotificationTable\getFilterFields().
Referenced by ILIAS\Forum\Notification\ForumNotificationTable\getComponents(), and ILIAS\Forum\Notification\ForumNotificationTable\getTableComponent().
ILIAS\Forum\Notification\ForumNotificationTable::getFilteredUserIds | ( | ?array | $filter_data | ) |
array{role | string}|null $filter_data |
Definition at line 208 of file ForumNotificationTable.php.
References ilForum\_getModerators().
Referenced by ILIAS\Forum\Notification\ForumNotificationTable\initRecords().
ILIAS\Forum\Notification\ForumNotificationTable::getFilterFields | ( | Factory | $field_factory | ) |
Definition at line 177 of file ForumNotificationTable.php.
References ILIAS\Repository\lng(), and ILIAS\UI\Component\Input\Field\Factory\select().
Referenced by ILIAS\Forum\Notification\ForumNotificationTable\getFilterComponent().
|
private |
array{role | string}|null $filter_data |
Definition at line 253 of file ForumNotificationTable.php.
References ILIAS\Forum\Notification\ForumNotificationTable\$records, ILIAS\Forum\Notification\ForumNotificationTable\initRecords(), ILIAS\Forum\Notification\ForumNotificationTable\limitRecords(), and ILIAS\Forum\Notification\ForumNotificationTable\orderRecords().
Referenced by ILIAS\Forum\Notification\ForumNotificationTable\getRows().
ILIAS\Forum\Notification\ForumNotificationTable::getRows | ( | \ILIAS\UI\Component\Table\DataRowBuilder | $row_builder, |
array | $visible_column_ids, | ||
Range | $range, | ||
Order | $order, | ||
?array | $filter_data, | ||
?array | $additional_parameters | ||
) |
array{role | string}|null $filter_data |
Definition at line 78 of file ForumNotificationTable.php.
References ILIAS\Forum\Notification\ForumNotificationTable\getRecords().
ILIAS\Forum\Notification\ForumNotificationTable::getTableComponent | ( | ) |
Definition at line 113 of file ForumNotificationTable.php.
References ILIAS\Forum\Notification\ForumNotificationTable\$table_component, ilUtil\_getHttpPath(), ILIAS\Forum\Notification\ForumNotificationTable\getActions(), ILIAS\Forum\Notification\ForumNotificationTable\getColumns(), ILIAS\Forum\Notification\ForumNotificationTable\getFilterComponent(), and ILIAS\Repository\lng().
Referenced by ILIAS\Forum\Notification\ForumNotificationTable\getComponents().
ILIAS\Forum\Notification\ForumNotificationTable::getTotalRowCount | ( | ?array | $filter_data, |
?array | $additional_parameters | ||
) |
array{role | string}|null $filter_data |
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 197 of file ForumNotificationTable.php.
References ILIAS\Forum\Notification\ForumNotificationTable\initRecords().
|
private |
int[] | $user_ids |
Definition at line 280 of file ForumNotificationTable.php.
References $user_id, ilForum\_getModerators(), ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ILIAS\Repository\int(), and ILIAS\Repository\lng().
Referenced by ILIAS\Forum\Notification\ForumNotificationTable\initRecords().
ILIAS\Forum\Notification\ForumNotificationTable::initRecords | ( | ?array | $filter_data | ) |
array{role | string}|null $filter_data |
Definition at line 95 of file ForumNotificationTable.php.
References ILIAS\Forum\Notification\ForumNotificationTable\getFilteredUserIds(), ILIAS\Forum\Notification\ForumNotificationTable\getUserNotificationTableData(), and null.
Referenced by ILIAS\Forum\Notification\ForumNotificationTable\getRecords(), and ILIAS\Forum\Notification\ForumNotificationTable\getTotalRowCount().
|
private |
list<array{ | 'user_id': int, 'login': string, 'firstname': string, 'lastname': string, 'user_toggle_noti': Icon, 'role': string, }> $records |
Definition at line 370 of file ForumNotificationTable.php.
References ILIAS\Data\Range\getLength(), and ILIAS\Data\Range\getStart().
Referenced by ILIAS\Forum\Notification\ForumNotificationTable\getRecords().
|
private |
list<array{ | 'user_id': int, 'login': string, 'firstname': string, 'lastname': string, 'user_toggle_noti': Icon, 'role': string, }> $records |
Definition at line 393 of file ForumNotificationTable.php.
References ILIAS\Forum\Notification\ForumNotificationTable\$records, ILIAS\Data\Order\DESC, ILIAS\Data\Order\join(), and ilStr\strCmp().
Referenced by ILIAS\Forum\Notification\ForumNotificationTable\getRecords().
|
private |
Definition at line 59 of file ForumNotificationTable.php.
Referenced by ILIAS\Forum\Notification\ForumNotificationTable\getFilterComponent().
|
private |
Definition at line 58 of file ForumNotificationTable.php.
Referenced by ILIAS\Forum\Notification\ForumNotificationTable\getRecords(), and ILIAS\Forum\Notification\ForumNotificationTable\orderRecords().
|
private |
Definition at line 60 of file ForumNotificationTable.php.
Referenced by ILIAS\Forum\Notification\ForumNotificationTable\getTableComponent().