|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Mail\Folder\MailFolderTableUI:
Collaboration diagram for ILIAS\Mail\Folder\MailFolderTableUI:Public Member Functions | |
| __construct (private readonly URLBuilder $url_builder, private readonly URLBuilderToken $action_token, private readonly URLBuilderToken $row_id_token, private readonly URLBuilderToken $folder_token, private readonly array $user_folders, private readonly MailFolderData $current_folder, private readonly MailFolderSearch $search, private readonly ilMail $mail, private readonly Factory $ui_factory, private readonly Renderer $ui_renderer, private readonly ilLanguage $lng, private readonly ServerRequestInterface $http_request, private readonly DataFactory $data_factory, private readonly Refinery $refinery, private readonly DateFormat $date_format, private readonly string $time_format, private readonly DateTimeZone $user_time_zone) | |
| getComponent () | |
| 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... | |
| 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... | |
Data Fields | |
| const string | ACTION_SHOW = 'show' |
| const string | ACTION_EDIT = 'edit' |
| const string | ACTION_REPLY = 'reply' |
| const string | ACTION_FORWARD = 'forward' |
| const string | ACTION_DOWNLOAD_ATTACHMENT = 'download' |
| const string | ACTION_PRINT = 'print' |
| const string | ACTION_PROFILE = 'profile' |
| const string | ACTION_MOVE_TO = 'moveTo' |
| const string | ACTION_DELETE = 'delete' |
| const string | ACTION_MARK_READ = 'markRead' |
| const string | ACTION_MARK_UNREAD = 'marUnread' |
Private Member Functions | |
| getColumnDefinition () | |
| getActions () | |
| getTableTitle () | |
| getAvatar (MailRecordData $record) | |
| getStatus (MailRecordData $record) | |
| getSender (MailRecordData $record) | |
| getRecipients (MailRecordData $record) | |
| getSubject (MailRecordData $record) | |
| getDate (MailRecordData $record) | |
| getAttachments (MailRecordData $record) | |
Private Attributes | |
| array | $avatars = [] |
Definition at line 47 of file MailFolderTableUI.php.
| ILIAS\Mail\Folder\MailFolderTableUI::__construct | ( | private readonly URLBuilder | $url_builder, |
| private readonly URLBuilderToken | $action_token, | ||
| private readonly URLBuilderToken | $row_id_token, | ||
| private readonly URLBuilderToken | $folder_token, | ||
| private readonly array | $user_folders, | ||
| private readonly MailFolderData | $current_folder, | ||
| private readonly MailFolderSearch | $search, | ||
| private readonly ilMail | $mail, | ||
| private readonly Factory | $ui_factory, | ||
| private readonly Renderer | $ui_renderer, | ||
| private readonly ilLanguage | $lng, | ||
| private readonly ServerRequestInterface | $http_request, | ||
| private readonly DataFactory | $data_factory, | ||
| private readonly Refinery | $refinery, | ||
| private readonly DateFormat | $date_format, | ||
| private readonly string | $time_format, | ||
| private readonly DateTimeZone | $user_time_zone | ||
| ) |
| MailFolderData[] | $user_folders |
Definition at line 68 of file MailFolderTableUI.php.
|
private |
Definition at line 174 of file MailFolderTableUI.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\Mail\Folder\MailFolderTableUI\getComponent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 440 of file MailFolderTableUI.php.
References ILIAS\Mail\Message\MailRecordData\hasAttachments().
Here is the call graph for this function:
|
private |
Definition at line 360 of file MailFolderTableUI.php.
References ANONYMOUS_USER_ID, ilUtil\getImagePath(), ILIAS\Mail\Message\MailRecordData\getSenderId(), and ilMailUserCache\getUserObjectById().
Here is the call graph for this function:
|
private |
Definition at line 107 of file MailFolderTableUI.php.
References ILIAS\Repository\lng(), and ilCalendarSettings\TIME_FORMAT_12.
Referenced by ILIAS\Mail\Folder\MailFolderTableUI\getComponent().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Mail\Folder\MailFolderTableUI::getComponent | ( | ) |
Definition at line 89 of file MailFolderTableUI.php.
References ILIAS\Data\Order\DESC, ILIAS\Mail\Folder\MailFolderTableUI\getActions(), ILIAS\Mail\Folder\MailFolderTableUI\getColumnDefinition(), and ILIAS\Mail\Folder\MailFolderTableUI\getTableTitle().
Here is the call graph for this function:
|
private |
Definition at line 435 of file MailFolderTableUI.php.
References ILIAS\Mail\Message\MailRecordData\getSendTime().
Here is the call graph for this function:
|
private |
Definition at line 414 of file MailFolderTableUI.php.
References ILIAS\Mail\Message\MailRecordData\getRcpTo(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ILIAS\Mail\Folder\MailFolderTableUI::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.
yield $row_builder->buildStandardRow($row_id, $record).
| string[] | $visible_column_ids |
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 261 of file MailFolderTableUI.php.
References ilMailUserCache\preloadUserObjects().
Here is the call graph for this function:
|
private |
Definition at line 388 of file MailFolderTableUI.php.
References ilMail\_getIliasMailerName(), ANONYMOUS_USER_ID, ILIAS\Mail\Message\MailRecordData\getImportName(), ILIAS\Mail\Message\MailRecordData\getMailId(), ILIAS\Mail\Message\MailRecordData\getSenderId(), and ilMailUserCache\getUserObjectById().
Here is the call graph for this function:
|
private |
Definition at line 381 of file MailFolderTableUI.php.
References ILIAS\Mail\Message\MailRecordData\isRead(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 421 of file MailFolderTableUI.php.
References ILIAS\Mail\Message\MailRecordData\getMailId(), ILIAS\Mail\Message\MailRecordData\getSubject(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
private |
Definition at line 337 of file MailFolderTableUI.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\Mail\Folder\MailFolderTableUI\getComponent().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Mail\Folder\MailFolderTableUI::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 329 of file MailFolderTableUI.php.
|
private |
Definition at line 63 of file MailFolderTableUI.php.
| const string ILIAS\Mail\Folder\MailFolderTableUI::ACTION_DELETE = 'delete' |
Definition at line 58 of file MailFolderTableUI.php.
| const string ILIAS\Mail\Folder\MailFolderTableUI::ACTION_DOWNLOAD_ATTACHMENT = 'download' |
Definition at line 54 of file MailFolderTableUI.php.
| const string ILIAS\Mail\Folder\MailFolderTableUI::ACTION_EDIT = 'edit' |
Definition at line 51 of file MailFolderTableUI.php.
| const string ILIAS\Mail\Folder\MailFolderTableUI::ACTION_FORWARD = 'forward' |
Definition at line 53 of file MailFolderTableUI.php.
| const string ILIAS\Mail\Folder\MailFolderTableUI::ACTION_MARK_READ = 'markRead' |
Definition at line 59 of file MailFolderTableUI.php.
| const string ILIAS\Mail\Folder\MailFolderTableUI::ACTION_MARK_UNREAD = 'marUnread' |
Definition at line 60 of file MailFolderTableUI.php.
| const string ILIAS\Mail\Folder\MailFolderTableUI::ACTION_MOVE_TO = 'moveTo' |
Definition at line 57 of file MailFolderTableUI.php.
| const string ILIAS\Mail\Folder\MailFolderTableUI::ACTION_PRINT = 'print' |
Definition at line 55 of file MailFolderTableUI.php.
| const string ILIAS\Mail\Folder\MailFolderTableUI::ACTION_PROFILE = 'profile' |
Definition at line 56 of file MailFolderTableUI.php.
| const string ILIAS\Mail\Folder\MailFolderTableUI::ACTION_REPLY = 'reply' |
Definition at line 52 of file MailFolderTableUI.php.
| const string ILIAS\Mail\Folder\MailFolderTableUI::ACTION_SHOW = 'show' |
Definition at line 50 of file MailFolderTableUI.php.