ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Public Member Functions | |
__construct (private readonly ilMailingLists $mailing_lists, private readonly \ilCtrlInterface $ctrl, private readonly ilLanguage $lng, private readonly \ILIAS\UI\Factory $ui_factory, \ILIAS\HTTP\GlobalHttpState $http) | |
setMailingAllowed (bool $mailing_allowed) | |
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 | |
isMailingAllowed () | |
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 |
bool | $mailing_allowed = false |
array | $records = null |
Definition at line 32 of file MailingListsTable.php.
ILIAS\Contact\MailingLists\MailingListsTable::__construct | ( | private readonly ilMailingLists | $mailing_lists, |
private readonly \ilCtrlInterface | $ctrl, | ||
private readonly ilLanguage | $lng, | ||
private readonly \ILIAS\UI\Factory | $ui_factory, | ||
\ILIAS\HTTP\GlobalHttpState | $http | ||
) |
Definition at line 40 of file MailingListsTable.php.
|
private |
Definition at line 106 of file MailingListsTable.php.
References ILIAS\Repository\ctrl(), ILIAS\Contact\MailingLists\MailingListsTable\isMailingAllowed(), and ILIAS\Repository\lng().
Referenced by ILIAS\Contact\MailingLists\MailingListsTable\getComponent().
|
private |
Definition at line 82 of file MailingListsTable.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\Contact\MailingLists\MailingListsTable\getComponent().
ILIAS\Contact\MailingLists\MailingListsTable::getComponent | ( | ) |
Definition at line 61 of file MailingListsTable.php.
References ILIAS\Data\Order\ASC, ILIAS\Contact\MailingLists\MailingListsTable\getActions(), ILIAS\Contact\MailingLists\MailingListsTable\getColumns(), ILIAS\Repository\lng(), and ILIAS\UI\Implementation\Component\Table\withOrder().
|
private |
Definition at line 223 of file MailingListsTable.php.
References ILIAS\Contact\MailingLists\MailingListsTable\initRecords(), ILIAS\Contact\MailingLists\MailingListsTable\limitRecords(), and ILIAS\Contact\MailingLists\MailingListsTable\sortedRecords().
Referenced by ILIAS\Contact\MailingLists\MailingListsTable\getRows().
ILIAS\Contact\MailingLists\MailingListsTable::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 179 of file MailingListsTable.php.
References ILIAS\Contact\MailingLists\MailingListsTable\getRecords().
ILIAS\Contact\MailingLists\MailingListsTable::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 195 of file MailingListsTable.php.
References ILIAS\Contact\MailingLists\MailingListsTable\initRecords().
|
private |
Definition at line 157 of file MailingListsTable.php.
References ilMailingList\MODE_TEMPORARY, and null.
Referenced by ILIAS\Contact\MailingLists\MailingListsTable\getRecords(), and ILIAS\Contact\MailingLists\MailingListsTable\getTotalRowCount().
|
private |
Definition at line 51 of file MailingListsTable.php.
References ILIAS\Contact\MailingLists\MailingListsTable\$mailing_allowed.
Referenced by ILIAS\Contact\MailingLists\MailingListsTable\getActions().
|
private |
list<array<string,mixed>> | $records |
Definition at line 235 of file MailingListsTable.php.
Referenced by ILIAS\Contact\MailingLists\MailingListsTable\getRecords().
ILIAS\Contact\MailingLists\MailingListsTable::setMailingAllowed | ( | bool | $mailing_allowed | ) |
Definition at line 56 of file MailingListsTable.php.
References ILIAS\Contact\MailingLists\MailingListsTable\$mailing_allowed.
|
private |
Definition at line 207 of file MailingListsTable.php.
References ILIAS\Contact\MailingLists\MailingListsTable\$records, and ilArrayUtil\stableSortArray().
Referenced by ILIAS\Contact\MailingLists\MailingListsTable\getRecords().
Definition at line 35 of file MailingListsTable.php.
|
private |
Definition at line 36 of file MailingListsTable.php.
Referenced by ILIAS\Contact\MailingLists\MailingListsTable\isMailingAllowed(), and ILIAS\Contact\MailingLists\MailingListsTable\setMailingAllowed().
|
private |
Definition at line 38 of file MailingListsTable.php.
Referenced by ILIAS\Contact\MailingLists\MailingListsTable\sortedRecords().
|
private |
Definition at line 34 of file MailingListsTable.php.