|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Mail\Attachments\MailAttachmentTableGUI:
Collaboration diagram for ILIAS\Mail\Attachments\MailAttachmentTableGUI: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, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| getTotalRowCount (mixed $additional_viewcontrol_data, mixed $filter_data, mixed $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, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
| getTotalRowCount (mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| Mainly for the purpose of pagination-support, it is important to know about the total number of records available. 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 |
Additional Inherited Members | |
Data Fields inherited from ILIAS\Mail\Attachments\MailAttachmentCommands | |
| const string | CMD_SHOW_ATTACHMENTS = 'showAttachments' |
| const string | CMD_CANCEL_SAVE_ATTACHMENTS = 'cancelSaveAttachments' |
| const string | CMD_DELETE_ATTACHMENTS = 'deleteAttachments' |
| const string | CMD_HANDLE_TABLE_ACTIONS = 'handleTableActions' |
| const string | DEFAULT_CMD = self::CMD_SHOW_ATTACHMENTS |
| const string | TABLE_CONFIRM_DELETE_ATTACHMENTS = 'confirmDeleteAttachments' |
| const string | TABLE_ACTION_SAVE_ATTACHMENTS = 'saveAttachments' |
Definition at line 26 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 36 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().
Here is the call graph for this function:| ILIAS\Mail\Attachments\MailAttachmentTableGUI::get | ( | ) |
Definition at line 67 of file MailAttachmentTableGUI.php.
References ILIAS\Data\Order\ASC, ILIAS\Mail\Attachments\MailAttachmentTableGUI\getActions(), ILIAS\Mail\Attachments\MailAttachmentTableGUI\getColumnDefinition(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 115 of file MailAttachmentTableGUI.php.
References ILIAS\Mail\Attachments\CONSUME, and ILIAS\Repository\lng().
Referenced by ILIAS\Mail\Attachments\MailAttachmentTableGUI\get().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 85 of file MailAttachmentTableGUI.php.
References ILIAS\Repository\lng(), and ilCalendarSettings\TIME_FORMAT_12.
Referenced by ILIAS\Mail\Attachments\MailAttachmentTableGUI\get().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 145 of file MailAttachmentTableGUI.php.
References ILIAS\UI\Implementation\Component\Table\$range, ILIAS\Data\Range\getLength(), ILIAS\Data\Range\getStart(), and ilStr\strCmp().
Here is the call graph for this function:| ILIAS\Mail\Attachments\MailAttachmentTableGUI::getRows | ( | \ILIAS\UI\Component\Table\DataRowBuilder | $row_builder, |
| array | $visible_column_ids, | ||
| \ILIAS\Data\Range | $range, | ||
| \ILIAS\Data\Order | $order, | ||
| mixed | $additional_viewcontrol_data, | ||
| mixed | $filter_data, | ||
| mixed | $additional_parameters | ||
| ) |
Definition at line 168 of file MailAttachmentTableGUI.php.
References ilUtil\formatSize().
Here is the call graph for this function:| ILIAS\Mail\Attachments\MailAttachmentTableGUI::getTotalRowCount | ( | mixed | $additional_viewcontrol_data, |
| mixed | $filter_data, | ||
| mixed | $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 191 of file MailAttachmentTableGUI.php.
|
private |
Definition at line 29 of file MailAttachmentTableGUI.php.
Referenced by ILIAS\Mail\Attachments\MailAttachmentTableGUI\__construct().
Definition at line 31 of file MailAttachmentTableGUI.php.
|
private |
Definition at line 30 of file MailAttachmentTableGUI.php.
Referenced by ILIAS\Mail\Attachments\MailAttachmentTableGUI\__construct().
|
private |
Definition at line 28 of file MailAttachmentTableGUI.php.
Referenced by ILIAS\Mail\Attachments\MailAttachmentTableGUI\__construct().