|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for ILIAS\Chatroom\Bans\BannedUsersTable:
Collaboration diagram for ILIAS\Chatroom\Bans\BannedUsersTable: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... | |
Public Member Functions inherited from ILIAS\UI\Component\Table\DataRetrieval | |
| 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().
Here is the call graph for this function:
|
private |
Definition at line 104 of file BannedUsersTable.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by ILIAS\Chatroom\Bans\BannedUsersTable\getComponent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
|
private |
Definition at line 132 of file BannedUsersTable.php.
Referenced by ILIAS\Chatroom\Bans\BannedUsersTable\getRecords(), and ILIAS\Chatroom\Bans\BannedUsersTable\getTotalRowCount().
Here is the caller graph for this function:
|
private |
| list<array<string,mixed>> | $records |
Definition at line 215 of file BannedUsersTable.php.
Referenced by ILIAS\Chatroom\Bans\BannedUsersTable\getRecords().
Here is the caller graph for this function:
|
private |
Definition at line 183 of file BannedUsersTable.php.
References ilArrayUtil\stableSortArray().
Referenced by ILIAS\Chatroom\Bans\BannedUsersTable\getRecords().
Here is the call graph for this function:
Here is the caller graph for this function: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.