ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Protected Member Functions | |
getUploadResult () | |
getRemoveResult (string $identifier) | |
![]() | |
readChunkedInformation () | |
getUploadResult () | |
getRemoveResult (string $identifier) | |
Private Member Functions | |
handleTableActions () | |
Private Attributes | |
readonly ilGlobalTemplateInterface | $tpl |
readonly ilLanguage | $lng |
readonly ilObjUser | $user |
readonly ilFormatMail | $umail |
readonly ilFileDataMail | $mfile |
readonly Refinery | $refinery |
readonly ILIAS UI Factory | $ui_factory |
readonly ILIAS UI Renderer | $ui_renderer |
readonly ilTabsGUI | $tabs |
AttachmentManagement | $mode = AttachmentManagement::MANAGE |
Additional Inherited Members | |
![]() | |
const | DEFAULT_FILE_ID_PARAMETER = 'file_id' |
![]() | |
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 30 of file class.ilMailAttachmentGUI.php.
ilMailAttachmentGUI::__construct | ( | ) |
Definition at line 43 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().
ilMailAttachmentGUI::cancelSaveAttachments | ( | ) |
Definition at line 147 of file class.ilMailAttachmentGUI.php.
References ILIAS\Repository\ctrl(), and ilMailFormGUI\MAIL_FORM_TYPE_ATTACH.
ilMailAttachmentGUI::confirmDeleteAttachments | ( | ) |
Definition at line 192 of file class.ilMailAttachmentGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and showAttachments().
ilMailAttachmentGUI::consume | ( | ) |
Definition at line 80 of file class.ilMailAttachmentGUI.php.
References ILIAS\Mail\Attachments\CONSUME.
ilMailAttachmentGUI::deleteAttachments | ( | ) |
Definition at line 153 of file class.ilMailAttachmentGUI.php.
References $filename, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ilUtil\stripSlashes().
Referenced by handleTableActions().
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
Implements ILIAS\MetaData\OERExposer\OAIPMH\Handler\ilCtrlAwareUploadHandler.
Definition at line 86 of file class.ilMailAttachmentGUI.php.
References ILIAS\Repository\ctrl().
ilMailAttachmentGUI::getFileIdentifierParameterName | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 369 of file class.ilMailAttachmentGUI.php.
Referenced by getUploadResult().
ilMailAttachmentGUI::getInfoForExistingFiles | ( | array | $file_ids | ) |
array | $file_ids |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 364 of file class.ilMailAttachmentGUI.php.
ilMailAttachmentGUI::getInfoResult | ( | string | $identifier | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 359 of file class.ilMailAttachmentGUI.php.
|
protected |
Definition at line 354 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 69 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 62 of file class.ilMailAttachmentGUI.php.
|
protected |
Definition at line 334 of file class.ilMailAttachmentGUI.php.
References $message, getFileIdentifierParameterName(), ILIAS\FileUpload\DTO\UploadResult\isOK(), ILIAS\Repository\lng(), and ILIAS\Repository\upload().
|
private |
Definition at line 319 of file class.ilMailAttachmentGUI.php.
References ILIAS\Repository\ctrl(), deleteAttachments(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and saveAttachments().
ilMailAttachmentGUI::manage | ( | ) |
Definition at line 74 of file class.ilMailAttachmentGUI.php.
ilMailAttachmentGUI::saveAttachments | ( | ) |
Definition at line 100 of file class.ilMailAttachmentGUI.php.
References ILIAS\Repository\ctrl(), ilUtil\formatSize(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), null, ILIAS\Repository\refinery(), showAttachments(), and ILIAS\Repository\user().
Referenced by handleTableActions().
ilMailAttachmentGUI::showAttachments | ( | ) |
Definition at line 234 of file class.ilMailAttachmentGUI.php.
References $components, $mode, 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 confirmDeleteAttachments(), and saveAttachments().
|
private |
Definition at line 33 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 36 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 41 of file class.ilMailAttachmentGUI.php.
Referenced by showAttachments().
|
private |
Definition at line 37 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 40 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 32 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 38 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 39 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 35 of file class.ilMailAttachmentGUI.php.
|
private |
Definition at line 34 of file class.ilMailAttachmentGUI.php.