ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
@ilCtrl_Calls ilMailFolderGUI: More...
Public Member Functions | |
__construct () | |
getUnsafeGetCommands () | |
This method must return a list of unsafe GET commands. More... | |
getSafePostCommands () | |
This method must return a list of safe POST commands. More... | |
executeCommand () | |
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 | |
initRequest () | |
Init class variables that can be determined in an actual request. More... | |
executeTableAction () | |
emptyTrash () | |
showUser () | |
showFolder () | |
redirectToFolder () | |
deleteSubFolder () | |
addSubFolder () | |
renameSubFolder () | |
getFilterUI () | |
getFilteredSearch () | |
Searcher for mails in the folder, initialized with the current filter values needed for table display and actions for the whole table. More... | |
getMailIdsFromRequest () | |
moveSingleMail () | |
Move a single mail to a folder Called from showMail page. More... | |
deleteMails () | |
confirmDeleteMails (array $mail_ids) | |
Confirm the deletion of selected mails in async modal. More... | |
printMail () | |
deliverFile () | |
deliverAttachments () | |
@ilCtrl_Calls ilMailFolderGUI:
Definition at line 37 of file class.ilMailFolderGUI.php.
ilMailFolderGUI::__construct | ( | ) |
Definition at line 82 of file class.ilMailFolderGUI.php.
References $DIC, ILIAS\Repository\ctrl(), error(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
|
protected |
Definition at line 527 of file class.ilMailFolderGUI.php.
References $data, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, and ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_SUCCESS.
|
protected |
Confirm the deletion of selected mails in async modal.
int[] | $mail_ids |
Definition at line 725 of file class.ilMailFolderGUI.php.
References ILIAS\Repository\ctrl(), getFilteredSearch(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by executeTableAction().
|
protected |
Definition at line 701 of file class.ilMailFolderGUI.php.
References getMailIdsFromRequest(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_INFO, and redirectToFolder().
|
protected |
Definition at line 506 of file class.ilMailFolderGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_SUCCESS, and redirectToFolder().
|
protected |
Definition at line 1170 of file class.ilMailFolderGUI.php.
References Vendor\Package\$e, $filename, ilFileDelivery\deliverFileLegacy(), getMailIdsFromRequest(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), redirectToFolder(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Referenced by executeTableAction().
|
protected |
Definition at line 1127 of file class.ilMailFolderGUI.php.
References Vendor\Package\$e, $filename, ilFileDelivery\deliverFileLegacy(), error(), ilSession\get(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), redirectToFolder(), ILIAS\Repository\refinery(), ilSession\set(), and ILIAS\Repository\user().
|
protected |
Definition at line 349 of file class.ilMailFolderGUI.php.
References ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_SUCCESS, and redirectToFolder().
ilMailFolderGUI::executeCommand | ( | ) |
Definition at line 153 of file class.ilMailFolderGUI.php.
References CMD_ADD_SUB_FOLDER, CMD_DELETE_MAILS, CMD_DELETE_SUB_FOLDER, CMD_DELIVER_FILE, CMD_EMPTY_TRASH, CMD_MOVE_SINGLE_MAIL, CMD_PRINT_MAIL, CMD_RENAME_SUB_FOLDER, CMD_SHOW_FOLDER, CMD_SHOW_MAIL, CMD_SHOW_USER, ILIAS\Repository\ctrl(), initRequest(), and showFolder().
|
protected |
Definition at line 173 of file class.ilMailFolderGUI.php.
References $user, confirmDeleteMails(), ILIAS\Repository\ctrl(), deliverAttachments(), getFilteredSearch(), ilObject\getId(), getMailIdsFromRequest(), ilMailUserCache\getUserObjectById(), ilObjUser\hasPublicProfile(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ilMailFormGUI\MAIL_FORM_TYPE_DRAFT, ilMailFormGUI\MAIL_FORM_TYPE_FORWARD, ilMailFormGUI\MAIL_FORM_TYPE_REPLY, ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_INFO, ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_SUCCESS, printMail(), redirectToFolder(), and ILIAS\Repository\refinery().
|
protected |
Searcher for mails in the folder, initialized with the current filter values needed for table display and actions for the whole table.
Definition at line 619 of file class.ilMailFolderGUI.php.
References getFilterUI(), and ilSearchSettings\getInstance().
Referenced by confirmDeleteMails(), and executeTableAction().
|
protected |
Definition at line 602 of file class.ilMailFolderGUI.php.
References ILIAS\Repository\ctrl(), ilSearchSettings\getInstance(), and ILIAS\Repository\user().
Referenced by getFilteredSearch(), and showFolder().
|
protected |
Definition at line 631 of file class.ilMailFolderGUI.php.
References $param, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by deleteMails(), deliverAttachments(), executeTableAction(), moveSingleMail(), and printMail().
ilMailFolderGUI::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 108 of file class.ilMailFolderGUI.php.
ilMailFolderGUI::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 101 of file class.ilMailFolderGUI.php.
References CMD_TABLE_ACTION.
|
protected |
Init class variables that can be determined in an actual request.
Definition at line 116 of file class.ilMailFolderGUI.php.
References $folder, ilSession\get(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Referenced by executeCommand().
|
protected |
Move a single mail to a folder Called from showMail page.
Definition at line 666 of file class.ilMailFolderGUI.php.
References ILIAS\Repository\ctrl(), getMailIdsFromRequest(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
|
protected |
Definition at line 1074 of file class.ilMailFolderGUI.php.
References ilMail\_getIliasMailerName(), ilDatePresentation\formatDate(), ilObject\getId(), ilObjectFactory\getInstanceByObjId(), getMailIdsFromRequest(), IL_CAL_DATETIME, and ILIAS\Repository\lng().
Referenced by executeTableAction().
|
protected |
Definition at line 499 of file class.ilMailFolderGUI.php.
References ILIAS\Repository\ctrl().
Referenced by deleteMails(), deleteSubFolder(), deliverAttachments(), deliverFile(), emptyTrash(), executeTableAction(), and renameSubFolder().
|
protected |
Definition at line 567 of file class.ilMailFolderGUI.php.
References $data, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_SUCCESS, and redirectToFolder().
|
protected |
Definition at line 403 of file class.ilMailFolderGUI.php.
References $components, ilUtil\_getHttpPath(), ILIAS\Repository\ctrl(), getFilterUI(), ILIAS\Repository\lng(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
Referenced by executeCommand().
|
protected |
ilCtrlException |
Definition at line 363 of file class.ilMailFolderGUI.php.
References ilObjUser\_lookupLogin(), ILIAS\Repository\ctrl(), ilUtil\getImagePath(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\tabs().
|
private |
Definition at line 66 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 77 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 73 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 80 of file class.ilMailFolderGUI.php.
Referenced by initRequest().
|
private |
Definition at line 71 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 67 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 79 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 72 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 69 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 68 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 65 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 74 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 75 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 76 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 78 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 70 of file class.ilMailFolderGUI.php.
Referenced by executeTableAction().
|
private |
Definition at line 52 of file class.ilMailFolderGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 53 of file class.ilMailFolderGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 54 of file class.ilMailFolderGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 55 of file class.ilMailFolderGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 56 of file class.ilMailFolderGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 57 of file class.ilMailFolderGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 58 of file class.ilMailFolderGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 59 of file class.ilMailFolderGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 61 of file class.ilMailFolderGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 60 of file class.ilMailFolderGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 62 of file class.ilMailFolderGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 63 of file class.ilMailFolderGUI.php.
Referenced by getUnsafeGetCommands().
|
private |
Definition at line 44 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 45 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 49 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 46 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 48 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 47 of file class.ilMailFolderGUI.php.
|
private |
Definition at line 41 of file class.ilMailFolderGUI.php.