ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
Public Member Functions | |
__construct () | |
manage () | |
consume () | |
executeCommand () | |
Since this is a ilCtrl aware UploadHandler executeCommand MUST be implemented. More... | |
saveAttachments () | |
cancelSaveAttachments () | |
deleteAttachments () | |
confirmDeleteAttachments () | |
showAttachments () | |
getInfoResult (string $identifier) | |
getInfoForExistingFiles (array $file_ids) | |
getFileIdentifierParameterName () | |
![]() | |
__construct () | |
ilUIDemoFileUploadHandlerGUI constructor. More... | |
getFileIdentifierParameterName () | |
getUploadURL () | |
getExistingFileInfoURL () | |
getFileRemovalURL () | |
executeCommand () | |
Since this is a ilCtrl aware UploadHandler executeCommand MUST be implemented. More... | |
getInfoResult (string $identifier) | |
getInfoForExistingFiles (array $file_ids) | |
supportsChunkedUploads () | |
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 137 of file class.ilMailAttachmentGUI.php.
References ILIAS\Repository\ctrl(), and ilMailFormGUI\MAIL_FORM_TYPE_ATTACH.
ilMailAttachmentGUI::confirmDeleteAttachments | ( | ) |
Definition at line 184 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 68 of file class.ilMailAttachmentGUI.php.
References ILIAS\Mail\Attachments\CONSUME.
ilMailAttachmentGUI::deleteAttachments | ( | ) |
Definition at line 143 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 74 of file class.ilMailAttachmentGUI.php.
References ILIAS\Repository\ctrl().
ilMailAttachmentGUI::getFileIdentifierParameterName | ( | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 361 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 356 of file class.ilMailAttachmentGUI.php.
ilMailAttachmentGUI::getInfoResult | ( | string | $identifier | ) |
Implements ILIAS\UI\Component\Input\Field\UploadHandler.
Definition at line 351 of file class.ilMailAttachmentGUI.php.
|
protected |
Definition at line 346 of file class.ilMailAttachmentGUI.php.
|
protected |
Definition at line 326 of file class.ilMailAttachmentGUI.php.
References $message, getFileIdentifierParameterName(), ILIAS\FileUpload\DTO\UploadResult\isOK(), ILIAS\Repository\lng(), and ILIAS\Repository\upload().
|
private |
Definition at line 311 of file class.ilMailAttachmentGUI.php.
References ILIAS\Repository\ctrl(), deleteAttachments(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and saveAttachments().
ilMailAttachmentGUI::manage | ( | ) |
Definition at line 62 of file class.ilMailAttachmentGUI.php.
ilMailAttachmentGUI::saveAttachments | ( | ) |
Definition at line 88 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 226 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.