ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__construct (private readonly \ilMailAttachmentGUI $parent_gui, private readonly \ilObjUser $actor, private readonly array $records, private readonly \ILIAS\UI\Factory $ui_factory, private readonly \ILIAS\UI\Renderer $ui_renderer, private readonly \ilLanguage $lng, private readonly \ilCtrlInterface $ctrl, private readonly \Psr\Http\Message\ServerRequestInterface $http_request, private readonly \ILIAS\Data\Factory $df, private readonly string $parent_cmd, private readonly AttachmentManagement $mode) | |
get () | |
getRows (\ILIAS\UI\Component\Table\DataRowBuilder $row_builder, array $visible_column_ids, \ILIAS\Data\Range $range, \ILIAS\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 | |
getColumnDefinition () | |
getActions () | |
getRecords (\ILIAS\Data\Range $range, \ILIAS\Data\Order $order) | |
Private Attributes | |
readonly ILIAS UI URLBuilder | $url_builder |
readonly ILIAS UI URLBuilderToken | $action_parameter_token |
readonly ILIAS UI URLBuilderToken | $row_id_token |
readonly ILIAS Data Factory | $data_factory |
Definition at line 28 of file MailAttachmentTableGUI.php.
ILIAS\Mail\Attachments\MailAttachmentTableGUI::__construct | ( | private readonly \ilMailAttachmentGUI | $parent_gui, |
private readonly \ilObjUser | $actor, | ||
private readonly array | $records, | ||
private readonly \ILIAS\UI\Factory | $ui_factory, | ||
private readonly \ILIAS\UI\Renderer | $ui_renderer, | ||
private readonly \ilLanguage | $lng, | ||
private readonly \ilCtrlInterface | $ctrl, | ||
private readonly \Psr\Http\Message\ServerRequestInterface | $http_request, | ||
private readonly \ILIAS\Data\Factory | $df, | ||
private readonly string | $parent_cmd, | ||
private readonly AttachmentManagement | $mode | ||
) |
list<array{"filename" | string, "filesize": int, "filecreatedate": int}> $records |
Definition at line 38 of file MailAttachmentTableGUI.php.
References ILIAS\Mail\Attachments\MailAttachmentTableGUI\$action_parameter_token, ILIAS\Mail\Attachments\MailAttachmentTableGUI\$row_id_token, ILIAS\Mail\Attachments\MailAttachmentTableGUI\$url_builder, ilUtil\_getHttpPath(), and ILIAS\Repository\ctrl().
ILIAS\Mail\Attachments\MailAttachmentTableGUI::get | ( | ) |
Definition at line 69 of file MailAttachmentTableGUI.php.
References ILIAS\Data\Order\ASC, ILIAS\Mail\Attachments\MailAttachmentTableGUI\getActions(), ILIAS\Mail\Attachments\MailAttachmentTableGUI\getColumnDefinition(), and ILIAS\Repository\lng().
|
private |
Definition at line 117 of file MailAttachmentTableGUI.php.
References ILIAS\Mail\Attachments\MailAttachmentTableGUI\$row_id_token, ILIAS\Mail\Attachments\CONSUME, and ILIAS\Repository\lng().
Referenced by ILIAS\Mail\Attachments\MailAttachmentTableGUI\get().
|
private |
Definition at line 87 of file MailAttachmentTableGUI.php.
References ILIAS\Repository\lng(), and ilCalendarSettings\TIME_FORMAT_12.
Referenced by ILIAS\Mail\Attachments\MailAttachmentTableGUI\get().
|
private |
Definition at line 141 of file MailAttachmentTableGUI.php.
References ilStr\strCmp().
Referenced by ILIAS\Mail\Attachments\MailAttachmentTableGUI\getRows().
ILIAS\Mail\Attachments\MailAttachmentTableGUI::getRows | ( | \ILIAS\UI\Component\Table\DataRowBuilder | $row_builder, |
array | $visible_column_ids, | ||
\ILIAS\Data\Range | $range, | ||
\ILIAS\Data\Order | $order, | ||
?array | $filter_data, | ||
?array | $additional_parameters | ||
) |
Definition at line 166 of file MailAttachmentTableGUI.php.
References ilUtil\formatSize(), and ILIAS\Mail\Attachments\MailAttachmentTableGUI\getRecords().
ILIAS\Mail\Attachments\MailAttachmentTableGUI::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 188 of file MailAttachmentTableGUI.php.
|
private |
Definition at line 31 of file MailAttachmentTableGUI.php.
Referenced by ILIAS\Mail\Attachments\MailAttachmentTableGUI\__construct().
Definition at line 33 of file MailAttachmentTableGUI.php.
|
private |
Definition at line 32 of file MailAttachmentTableGUI.php.
Referenced by ILIAS\Mail\Attachments\MailAttachmentTableGUI\__construct(), and ILIAS\Mail\Attachments\MailAttachmentTableGUI\getActions().
|
private |
Definition at line 30 of file MailAttachmentTableGUI.php.
Referenced by ILIAS\Mail\Attachments\MailAttachmentTableGUI\__construct().