|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilMailAttachmentGUI:
Collaboration diagram for ilMailAttachmentGUI:Public Member Functions | |
| __construct () | |
| ilUIDemoFileUploadHandlerGUI constructor. More... | |
| getUnsafeGetCommands () | |
| This method must return a list of unsafe GET commands. More... | |
| getSafePostCommands () | |
| This method must return a list of safe POST commands. More... | |
| manage () | |
| consume () | |
| executeCommand () | |
| Since this is a ilCtrl aware UploadHandler executeCommand MUST be implemented. More... | |
| getInfoResult (string $identifier) | |
| getInfoForExistingFiles (array $file_ids) | |
| getFileIdentifierParameterName () | |
| @inheritDoc More... | |
Public Member Functions inherited from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler | |
| __construct () | |
| ilUIDemoFileUploadHandlerGUI constructor. More... | |
| getFileIdentifierParameterName () | |
| @inheritDoc More... | |
| getUploadURL () | |
| @inheritDoc More... | |
| getExistingFileInfoURL () | |
| @inheritDoc More... | |
| getFileRemovalURL () | |
| @inheritDoc More... | |
| executeCommand () | |
| Since this is a ilCtrl aware UploadHandler executeCommand MUST be implemented. More... | |
| getInfoResult (string $identifier) | |
| getInfoForExistingFiles (array $file_ids) | |
| supportsChunkedUploads () | |
| executeCommand () | |
| Since this is a ilCtrl aware UploadHandler executeCommand MUST be implemented. More... | |
| getFileIdentifierParameterName () | |
| getUploadURL () | |
| getFileRemovalURL () | |
| getExistingFileInfoURL () | |
| getInfoForExistingFiles (array $file_ids) | |
| getInfoResult (string $identifier) | |
| supportsChunkedUploads () | |
| getUnsafeGetCommands () | |
| This method must return a list of unsafe GET commands. More... | |
| getSafePostCommands () | |
| This method must return a list of safe POST commands. More... | |
Protected Member Functions | |
| getUploadResult () | |
| getRemoveResult (string $identifier) | |
Protected Member Functions inherited from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler | |
| readChunkedInformation () | |
| getUploadResult () | |
| getRemoveResult (string $identifier) | |
Private Member Functions | |
| saveAttachments () | |
| cancelSaveAttachmentsCommand () | |
| confirmDeleteAttachments () | |
| deleteAttachmentsCommand () | |
| showAttachmentsCommand () | |
| handleTableActionsCommand () | |
Private Attributes | |
| readonly ilGlobalTemplateInterface | $tpl |
| readonly ilLanguage | $lng |
| readonly ilObjUser | $user |
| readonly ilFormatMail | $umail |
| readonly ilFileDataMail | $fdm |
| readonly Refinery | $refinery |
| readonly ILIAS UI Factory | $ui_factory |
| readonly ILIAS UI Renderer | $ui_renderer |
| readonly ilTabsGUI | $tabs |
| AttachmentManagement | $mode = AttachmentManagement::MANAGE |
| readonly ILIAS ResourceStorage Services | $storage |
Additional Inherited Members | |
Data Fields inherited from ILIAS\UI\Component\Input\Field\UploadHandler | |
| const | DEFAULT_FILE_ID_PARAMETER = 'file_id' |
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' |
Protected Attributes inherited from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler | |
| const | CMD_UPLOAD = 'upload' |
| const | CMD_REMOVE = 'remove' |
| const | CMD_INFO = 'info' |
| HttpServices | $http |
| ilCtrl | $ctrl |
| FileUpload | $upload |
| bool | $is_chunked = false |
| int | $chunk_index = 0 |
| int | $amount_of_chunks = 0 |
| string | $chunk_id = null |
| int | $chunk_total_size = 0 |
Definition at line 31 of file class.ilMailAttachmentGUI.php.
| ilMailAttachmentGUI::__construct | ( | ) |
ilUIDemoFileUploadHandlerGUI constructor.
Reimplemented from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler.
Definition at line 49 of file class.ilMailAttachmentGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Definition at line 161 of file class.ilMailAttachmentGUI.php.
References ILIAS\Repository\ctrl(), and ilMailFormGUI\MAIL_FORM_TYPE_ATTACH.
Here is the call graph for this function:
|
private |
Definition at line 167 of file class.ilMailAttachmentGUI.php.
References $filename, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ilUtil\stripSlashes().
Referenced by handleTableActionsCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailAttachmentGUI::consume | ( | ) |
Definition at line 87 of file class.ilMailAttachmentGUI.php.
References ILIAS\Mail\Attachments\CONSUME.
|
private |
Definition at line 206 of file class.ilMailAttachmentGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and showAttachmentsCommand().
Here is the call graph for this function:| ilMailAttachmentGUI::executeCommand | ( | ) |
Since this is a ilCtrl aware UploadHandler executeCommand MUST be implemented.
The Implementation MUST make sure, the Upload and the Removal Command are handled correctly
Reimplemented from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler.
Definition at line 93 of file class.ilMailAttachmentGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Mail\Attachments\MailAttachmentCommands\DEFAULT_CMD.
Here is the call graph for this function:| ilMailAttachmentGUI::getFileIdentifierParameterName | ( | ) |
@inheritDoc
Reimplemented from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler.
Definition at line 389 of file class.ilMailAttachmentGUI.php.
Referenced by getUploadResult().
Here is the caller graph for this function:| ilMailAttachmentGUI::getInfoForExistingFiles | ( | array | $file_ids | ) |
| array | $file_ids |
Reimplemented from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler.
Definition at line 384 of file class.ilMailAttachmentGUI.php.
| ilMailAttachmentGUI::getInfoResult | ( | string | $identifier | ) |
Reimplemented from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler.
Definition at line 379 of file class.ilMailAttachmentGUI.php.
|
protected |
Reimplemented from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler.
Definition at line 374 of file class.ilMailAttachmentGUI.php.
| ilMailAttachmentGUI::getSafePostCommands | ( | ) |
This method must return a list of safe POST commands.
Safe post commands returned by this method will no longer be CSRF protected and will NOT be appended by an ilCtrlToken.
Implements ilCtrlSecurityInterface.
Definition at line 76 of file class.ilMailAttachmentGUI.php.
| ilMailAttachmentGUI::getUnsafeGetCommands | ( | ) |
This method must return a list of unsafe GET commands.
Unsafe get commands returned by this method will now be CSRF protected, which means an ilCtrlToken is appended each time a link-target is generated to the class implementing this interface with a command from that list.
Tokens will be validated in
Implements ilCtrlSecurityInterface.
Definition at line 69 of file class.ilMailAttachmentGUI.php.
References ILIAS\Mail\Attachments\MailAttachmentCommands\CMD_HANDLE_TABLE_ACTIONS.
|
protected |
Reimplemented from ILIAS\FileUpload\Handler\AbstractCtrlAwareUploadHandler.
Definition at line 354 of file class.ilMailAttachmentGUI.php.
References getFileIdentifierParameterName(), ILIAS\FileUpload\DTO\UploadResult\isOK(), ILIAS\Repository\lng(), and ILIAS\Repository\upload().
Here is the call graph for this function:
|
private |
Definition at line 339 of file class.ilMailAttachmentGUI.php.
References confirmDeleteAttachments(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and saveAttachments().
Here is the call graph for this function:| ilMailAttachmentGUI::manage | ( | ) |
Definition at line 81 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 113 of file class.ilMailAttachmentGUI.php.
References ILIAS\Repository\ctrl(), ilUtil\formatSize(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), showAttachmentsCommand(), and ILIAS\Repository\user().
Referenced by handleTableActionsCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 254 of file class.ilMailAttachmentGUI.php.
References $components, ILIAS\Mail\Attachments\CONSUME, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Referenced by deleteAttachmentsCommand(), and saveAttachments().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 41 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 38 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 46 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 42 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 47 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 45 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 37 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 43 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 44 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 40 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 39 of file class.ilMailAttachmentGUI.php.