ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
Public Member Functions | |
__construct (private readonly ilMailingList $mailing_list, private readonly \ilCtrlInterface $ctrl, private readonly ilLanguage $lng, private readonly \ILIAS\UI\Factory $ui_factory, \ILIAS\HTTP\GlobalHttpState $http) | |
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 32 of file MailingListsMembersTable.php.
ILIAS\Contact\MailingLists\MailingListsMembersTable::__construct | ( | private readonly ilMailingList | $mailing_list, |
private readonly \ilCtrlInterface | $ctrl, | ||
private readonly ilLanguage | $lng, | ||
private readonly \ILIAS\UI\Factory | $ui_factory, | ||
\ILIAS\HTTP\GlobalHttpState | $http | ||
) |
Definition at line 39 of file MailingListsMembersTable.php.
|
private |
Definition at line 88 of file MailingListsMembersTable.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by ILIAS\Contact\MailingLists\MailingListsMembersTable\getComponent().
|
private |
Definition at line 74 of file MailingListsMembersTable.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\Contact\MailingLists\MailingListsMembersTable\getComponent().
ILIAS\Contact\MailingLists\MailingListsMembersTable::getComponent | ( | ) |
Definition at line 50 of file MailingListsMembersTable.php.
References ILIAS\Data\Order\ASC, ILIAS\Contact\MailingLists\MailingListsMembersTable\getActions(), ILIAS\Contact\MailingLists\MailingListsMembersTable\getColumns(), ILIAS\Repository\lng(), and ILIAS\UI\Implementation\Component\Table\withOrder().
|
private |
Definition at line 178 of file MailingListsMembersTable.php.
References ILIAS\Contact\MailingLists\MailingListsMembersTable\initRecords(), ILIAS\Contact\MailingLists\MailingListsMembersTable\limitRecords(), and ILIAS\Contact\MailingLists\MailingListsMembersTable\sortedRecords().
Referenced by ILIAS\Contact\MailingLists\MailingListsMembersTable\getRows().
ILIAS\Contact\MailingLists\MailingListsMembersTable::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 139 of file MailingListsMembersTable.php.
References ILIAS\Contact\MailingLists\MailingListsMembersTable\getRecords().
ILIAS\Contact\MailingLists\MailingListsMembersTable::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 155 of file MailingListsMembersTable.php.
References ILIAS\Contact\MailingLists\MailingListsMembersTable\initRecords().
|
private |
Definition at line 119 of file MailingListsMembersTable.php.
References ilUserUtil\getNamePresentation(), and null.
Referenced by ILIAS\Contact\MailingLists\MailingListsMembersTable\getRecords(), and ILIAS\Contact\MailingLists\MailingListsMembersTable\getTotalRowCount().
|
private |
list<array<string,mixed>> | $records |
Definition at line 191 of file MailingListsMembersTable.php.
Referenced by ILIAS\Contact\MailingLists\MailingListsMembersTable\getRecords().
|
private |
Definition at line 167 of file MailingListsMembersTable.php.
References ILIAS\Contact\MailingLists\MailingListsMembersTable\$records, and ilArrayUtil\stableSortArray().
Referenced by ILIAS\Contact\MailingLists\MailingListsMembersTable\getRecords().
Definition at line 35 of file MailingListsMembersTable.php.
|
private |
Definition at line 37 of file MailingListsMembersTable.php.
Referenced by ILIAS\Contact\MailingLists\MailingListsMembersTable\sortedRecords().
|
private |
Definition at line 34 of file MailingListsMembersTable.php.