ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
|
Public Member Functions | |
__construct (private readonly \ilObjUser $actor, private readonly int $room_id, private readonly array $banned_users, private readonly ilCtrlInterface $ctrl, private readonly ilLanguage $lng, GlobalHttpState $http, private readonly \ILIAS\UI\Factory $ui_factory) | |
getComponent () | |
getRows (UI\Component\Table\DataRowBuilder $row_builder, array $visible_column_ids, Data\Range $range, Data\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... | |
![]() | |
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 | |
getColumns () | |
getActions () | |
initRecords () | |
sortedRecords (Data\Order $order) | |
getRecords (Data\Range $range, Data\Order $order) | |
limitRecords (array $records, Data\Range $range) | |
Private Attributes | |
readonly ServerRequestInterface | $request |
readonly Data Factory | $data_factory |
array | $records = null |
Definition at line 34 of file BannedUsersTable.php.
ILIAS\Chatroom\Bans\BannedUsersTable::__construct | ( | private readonly \ilObjUser | $actor, |
private readonly int | $room_id, | ||
private readonly array | $banned_users, | ||
private readonly ilCtrlInterface | $ctrl, | ||
private readonly ilLanguage | $lng, | ||
GlobalHttpState | $http, | ||
private readonly \ILIAS\UI\Factory | $ui_factory | ||
) |
list<array<string,scalar|null>> | $banned_users |
Definition at line 44 of file BannedUsersTable.php.
References ILIAS\HTTP\GlobalHttpState\request().
|
private |
Definition at line 104 of file BannedUsersTable.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by ILIAS\Chatroom\Bans\BannedUsersTable\getComponent().
|
private |
Definition at line 74 of file BannedUsersTable.php.
References ILIAS\Repository\lng(), and ilCalendarSettings\TIME_FORMAT_12.
Referenced by ILIAS\Chatroom\Bans\BannedUsersTable\getComponent().
ILIAS\Chatroom\Bans\BannedUsersTable::getComponent | ( | ) |
Definition at line 57 of file BannedUsersTable.php.
References ILIAS\Data\Order\DESC, ILIAS\Chatroom\Bans\BannedUsersTable\getActions(), ILIAS\Chatroom\Bans\BannedUsersTable\getColumns(), and ILIAS\Repository\lng().
|
private |
Definition at line 202 of file BannedUsersTable.php.
References ILIAS\Chatroom\Bans\BannedUsersTable\initRecords(), ILIAS\Chatroom\Bans\BannedUsersTable\limitRecords(), and ILIAS\Chatroom\Bans\BannedUsersTable\sortedRecords().
Referenced by ILIAS\Chatroom\Bans\BannedUsersTable\getRows().
ILIAS\Chatroom\Bans\BannedUsersTable::getRows | ( | UI\Component\Table\DataRowBuilder | $row_builder, |
array | $visible_column_ids, | ||
Data\Range | $range, | ||
Data\Order | $order, | ||
?array | $filter_data, | ||
?array | $additional_parameters | ||
) |
Definition at line 155 of file BannedUsersTable.php.
References ILIAS\Chatroom\Bans\BannedUsersTable\getRecords().
ILIAS\Chatroom\Bans\BannedUsersTable::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 171 of file BannedUsersTable.php.
References ILIAS\Chatroom\Bans\BannedUsersTable\initRecords().
|
private |
Definition at line 132 of file BannedUsersTable.php.
References null.
Referenced by ILIAS\Chatroom\Bans\BannedUsersTable\getRecords(), and ILIAS\Chatroom\Bans\BannedUsersTable\getTotalRowCount().
|
private |
list<array<string,mixed>> | $records |
Definition at line 215 of file BannedUsersTable.php.
Referenced by ILIAS\Chatroom\Bans\BannedUsersTable\getRecords().
|
private |
Definition at line 183 of file BannedUsersTable.php.
References ilArrayUtil\stableSortArray().
Referenced by ILIAS\Chatroom\Bans\BannedUsersTable\getRecords().
Definition at line 37 of file BannedUsersTable.php.
|
private |
Definition at line 39 of file BannedUsersTable.php.
|
private |
Definition at line 36 of file BannedUsersTable.php.