19 declare(strict_types=1);
    47         $this->request = $http->request();
    48         $this->data_factory = 
new Data\Factory();
    66         return $this->ui_factory
    69                 $this->
lng->txt(
'mail_mailing_lists'),
    75             ->withActions($actions)
    76             ->withRequest($this->request);
    85             'title' => $this->ui_factory
    88                 ->text($this->
lng->txt(
'title'))
    89                 ->withIsSortable(
true),
    90             'description' => $this->ui_factory
    93                 ->text($this->
lng->txt(
'description'))
    94                 ->withIsSortable(
true),
    95             'members' => $this->ui_factory
    98                 ->number($this->
lng->txt(
'members'))
    99                 ->withIsSortable(
true),
   108         $query_params_namespace = [
'contact', 
'mailinglist', 
'list'];
   110         $uri = $this->data_factory->uri(
   111             ILIAS_HTTP_PATH . 
'/' . $this->
ctrl->getLinkTargetByClass(
   112                 ilMailingListsGUI::class,
   113                 'handleMailingListActions'   117         $url_builder = 
new UI\URLBuilder($uri);
   120             $action_parameter_token_copy,
   122         ] = $url_builder->acquireParameters(
   123             $query_params_namespace,
   129             'confirmDelete' => $this->ui_factory->table()->action()->standard(
   130                 $this->
lng->txt(
'delete'),
   131                 $url_builder->withParameter($action_parameter_token_copy, 
'confirmDelete'),
   134             'showForm' => $this->ui_factory->table()->action()->single(
   135                 $this->
lng->txt(
'edit'),
   136                 $url_builder->withParameter($action_parameter_token_copy, 
'showForm'),
   139             'showMembersList' => $this->ui_factory->table()->action()->single(
   140                 $this->
lng->txt(
'members'),
   141                 $url_builder->withParameter($action_parameter_token_copy, 
'showMembersList'),
   147             $actions[
'mailToList'] = $this->ui_factory->table()->action()->standard(
   148                 $this->
lng->txt(
'send_mail_to'),
   149                 $url_builder->withParameter($action_parameter_token_copy, 
'mailToList'),
   159         if ($this->records === null) {
   162             $entries = $this->mailing_lists->getAll();
   164             foreach ($entries as $entry) {
   169                 $this->records[$counter][
'ml_id'] = $entry->getId();
   170                 $this->records[$counter][
'title'] = $entry->getTitle() . 
' [#il_ml_' . $entry->getId() . 
']';
   171                 $this->records[$counter][
'description'] = $entry->getDescription() ?? 
'';
   172                 $this->records[$counter][
'members'] = \count($entry->getAssignedEntries());
   181         array $visible_column_ids,
   185         ?array $additional_parameters
   189         foreach ($records as $record) {
   190             $row_id = (string) $record[
'ml_id'];
   191             yield $row_builder->buildDataRow($row_id, $record);
   197         ?array $additional_parameters
   201         return \count($this->records);
   210         [$order_field, $order_direction] = $order->join([], fn($ret, $key, $value) => [$key, $value]);
   215             strtolower($order_direction),
   216             $order_field === 
'members'   237         return \array_slice($records, $range->getStart(), $range->getLength());
 
Interface Observer  Contains several chained tasks and infos about them. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Both the subject and the direction need to be specified when expressing an order. ...
 
final const MODE_TEMPORARY
 
static stableSortArray(array $array, string $a_array_sortby, string $a_array_sortorder="asc", bool $a_numeric=false)
Sort an aray using a stable sort algorithm, which preveserves the sequence of array elements which ha...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
A simple class to express a naive range of whole positive numbers. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...