ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (ilMailTemplateService $templateService=null, ilMailBodyPurifier $bodyPurifier=null) | |
executeCommand () | |
sendMessage () | |
saveDraft () | |
searchUsers (bool $save=true) | |
searchCoursesTo () | |
searchGroupsTo () | |
search () | |
cancelSearch () | |
editAttachments () | |
returnFromAttachments () | |
searchResults () | |
mailUser () | |
mailRole () | |
replyMail () | |
mailAttachment () | |
showForm () | |
lookupRecipientAsync () | |
cancelMail () | |
searchMailingListsTo () | |
Data Fields | |
const | MAIL_FORM_TYPE_ATTACH = 'attach' |
const | MAIL_FORM_TYPE_SEARCH_RESULT = 'search_res' |
const | MAIL_FORM_TYPE_NEW = 'new' |
const | MAIL_FORM_TYPE_ROLE = 'role' |
const | MAIL_FORM_TYPE_REPLY = 'reply' |
const | MAIL_FORM_TYPE_ADDRESS = 'address' |
const | MAIL_FORM_TYPE_FORWARD = 'forward' |
const | MAIL_FORM_TYPE_DRAFT = 'draft' |
Protected Member Functions | |
decodeAttachmentFiles (array $files) | |
getTemplateDataById () | |
saveMailBeforeSearch () | |
showSubmissionErrors (array $errors) | |
Protected Attributes | |
ilMailTemplateService | $templateService |
Private Member Functions | |
getQueryParam (string $name, Transformation $trafo, $default=null) | |
getBodyParam (string $name, Transformation $trafo, $default=null) | |
Private Attributes | |
ilGlobalTemplateInterface | $tpl |
ilCtrlInterface | $ctrl |
ilLanguage | $lng |
ilObjUser | $user |
ilTabsGUI | $tabs |
ilToolbarGUI | $toolbar |
ilFormatMail | $umail |
ilMailbox | $mbox |
ilFileDataMail | $mfile |
GlobalHttpState | $http |
Refinery | $refinery |
array | $requestAttachments = null |
ilMailBodyPurifier | $purifier |
string | $mail_form_type = '' |
ilMailFormGUI: ilMailAttachmentGUI, ilMailSearchGUI, ilMailSearchCoursesGUI, ilMailSearchGroupsGUI, ilMailingListsGUI
Definition at line 32 of file class.ilMailFormGUI.php.
ilMailFormGUI::__construct | ( | ilMailTemplateService | $templateService = null , |
ilMailBodyPurifier | $bodyPurifier = null |
||
) |
Definition at line 59 of file class.ilMailFormGUI.php.
References $DIC, ILIAS\Repository\ctrl(), getBodyParam(), getQueryParam(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
ilMailFormGUI::cancelMail | ( | ) |
Definition at line 912 of file class.ilMailFormGUI.php.
References ilMailFormCall\getRefererRedirectUrl(), ilMailFormCall\isRefererStored(), ilUtil\redirect(), and showForm().
ilMailFormGUI::cancelSearch | ( | ) |
Definition at line 391 of file class.ilMailFormGUI.php.
References ilSession\clear(), and searchResults().
|
protected |
string[] | $files |
Definition at line 162 of file class.ilMailFormGUI.php.
References ILIAS\Repository\user().
Referenced by saveDraft(), and sendMessage().
ilMailFormGUI::editAttachments | ( | ) |
Definition at line 397 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), getBodyParam(), ilMailFormCall\getContextId(), ilMailFormCall\getContextParameters(), ILIAS\Repository\refinery(), ilUtil\securePlainString(), and ILIAS\Repository\user().
ilMailFormGUI::executeCommand | ( | ) |
Definition at line 119 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl().
|
private |
Definition at line 107 of file class.ilMailFormGUI.php.
References ILIAS\FileDelivery\http().
Referenced by __construct(), editAttachments(), lookupRecipientAsync(), saveDraft(), saveMailBeforeSearch(), search(), searchUsers(), and sendMessage().
|
private |
Definition at line 95 of file class.ilMailFormGUI.php.
References ILIAS\FileDelivery\http().
Referenced by __construct(), lookupRecipientAsync(), and showForm().
|
protected |
Definition at line 464 of file class.ilMailFormGUI.php.
References $context, Vendor\Package\$e, ilMailTemplateContextService\getTemplateContextById(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
ilMailFormGUI::lookupRecipientAsync | ( | ) |
Definition at line 871 of file class.ilMailFormGUI.php.
References getBodyParam(), getQueryParam(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), ilUtil\stripSlashes(), and ilStr\strLen().
ilMailFormGUI::mailAttachment | ( | ) |
Definition at line 458 of file class.ilMailFormGUI.php.
References showForm().
ilMailFormGUI::mailRole | ( | ) |
Definition at line 446 of file class.ilMailFormGUI.php.
References showForm().
ilMailFormGUI::mailUser | ( | ) |
Definition at line 440 of file class.ilMailFormGUI.php.
References showForm().
ilMailFormGUI::replyMail | ( | ) |
Definition at line 452 of file class.ilMailFormGUI.php.
References showForm().
ilMailFormGUI::returnFromAttachments | ( | ) |
Definition at line 428 of file class.ilMailFormGUI.php.
References showForm().
ilMailFormGUI::saveDraft | ( | ) |
Definition at line 231 of file class.ilMailFormGUI.php.
References $errors, ilSession\clear(), ILIAS\Repository\ctrl(), decodeAttachmentFiles(), ilSession\get(), getBodyParam(), ilMailFormCall\getContextId(), ilMailFormCall\getContextParameters(), ilMailFormCall\getRefererRedirectUrl(), ILIAS\Repository\int(), ilMailFormCall\isRefererStored(), ILIAS\Repository\lng(), ilUtil\redirect(), ILIAS\Repository\refinery(), ilUtil\securePlainString(), showForm(), and showSubmissionErrors().
|
protected |
Definition at line 921 of file class.ilMailFormGUI.php.
References getBodyParam(), ilMailFormCall\getContextId(), ilMailFormCall\getContextParameters(), ILIAS\Repository\refinery(), ilUtil\securePlainString(), and ILIAS\Repository\user().
Referenced by searchCoursesTo(), searchGroupsTo(), and searchMailingListsTo().
ilMailFormGUI::search | ( | ) |
Definition at line 367 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), ilSession\get(), getBodyParam(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), searchUsers(), ilUtil\securePlainString(), and ilSession\set().
ilMailFormGUI::searchCoursesTo | ( | ) |
Definition at line 347 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), ilSession\get(), and saveMailBeforeSearch().
ilMailFormGUI::searchGroupsTo | ( | ) |
Definition at line 359 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), and saveMailBeforeSearch().
ilMailFormGUI::searchMailingListsTo | ( | ) |
Definition at line 949 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), and saveMailBeforeSearch().
ilMailFormGUI::searchResults | ( | ) |
Definition at line 434 of file class.ilMailFormGUI.php.
References showForm().
Referenced by cancelSearch().
ilMailFormGUI::searchUsers | ( | bool | $save = true | ) |
Definition at line 292 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), ilSession\get(), getBodyParam(), ilMailFormCall\getContextId(), ilMailFormCall\getContextParameters(), ILIAS\Repository\lng(), ilLegacyFormElementsUtil\prepareFormOutput(), ILIAS\Repository\refinery(), ilUtil\securePlainString(), and ILIAS\Repository\user().
Referenced by search().
ilMailFormGUI::sendMessage | ( | ) |
Definition at line 175 of file class.ilMailFormGUI.php.
References $errors, $message, ILIAS\Repository\ctrl(), decodeAttachmentFiles(), getBodyParam(), ilMailFormCall\getContextId(), ilMailFormCall\getContextParameters(), ilMailFormCall\getRefererRedirectUrl(), ilMailFormCall\isRefererStored(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilUtil\securePlainString(), showForm(), showSubmissionErrors(), and ILIAS\Repository\user().
ilMailFormGUI::showForm | ( | ) |
Definition at line 491 of file class.ilMailFormGUI.php.
References $context, $data, Vendor\Package\$e, ILIAS\LTI\ToolProvider\$key, $mail_form_type, $requestAttachments, $type, ilButton\BUTTON_TYPE_SUBMIT, ilSession\clear(), ILIAS\Repository\ctrl(), ilUtil\formatSize(), ilSession\get(), ilMailFormCall\getContextId(), ilButton\getInstance(), ilBuddyList\getInstanceByGlobalUser(), ilLoggerFactory\getLogger(), getQueryParam(), ilMailFormCall\getSignature(), ilMailTemplateContextService\getTemplateContextById(), ilFormPropertyGUI\getTitle(), ILIAS\FileDelivery\http(), ilMailFormCall\isRefererStored(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilUtil\securePlainString(), ilSession\set(), ilMailFormCall\setContextId(), ilMailFormCall\setContextParameters(), ilManualPlaceholderInputGUI\setInstructionText(), ilCheckboxInputGUI\setValue(), ilTextAreaInputGUI\setValue(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
Referenced by cancelMail(), mailAttachment(), mailRole(), mailUser(), replyMail(), returnFromAttachments(), saveDraft(), searchResults(), and sendMessage().
|
protected |
ilMailError[] | $errors |
Definition at line 960 of file class.ilMailFormGUI.php.
References ILIAS\Repository\lng().
Referenced by saveDraft(), and sendMessage().
|
private |
Definition at line 44 of file class.ilMailFormGUI.php.
|
private |
Definition at line 52 of file class.ilMailFormGUI.php.
|
private |
Definition at line 45 of file class.ilMailFormGUI.php.
|
private |
Definition at line 57 of file class.ilMailFormGUI.php.
Referenced by showForm().
|
private |
Definition at line 50 of file class.ilMailFormGUI.php.
|
private |
Definition at line 51 of file class.ilMailFormGUI.php.
|
private |
Definition at line 56 of file class.ilMailFormGUI.php.
|
private |
Definition at line 53 of file class.ilMailFormGUI.php.
|
private |
Definition at line 54 of file class.ilMailFormGUI.php.
Referenced by showForm().
|
private |
Definition at line 47 of file class.ilMailFormGUI.php.
|
protected |
Definition at line 55 of file class.ilMailFormGUI.php.
|
private |
Definition at line 48 of file class.ilMailFormGUI.php.
|
private |
Definition at line 43 of file class.ilMailFormGUI.php.
|
private |
Definition at line 49 of file class.ilMailFormGUI.php.
|
private |
Definition at line 46 of file class.ilMailFormGUI.php.
const ilMailFormGUI::MAIL_FORM_TYPE_ADDRESS = 'address' |
Definition at line 39 of file class.ilMailFormGUI.php.
const ilMailFormGUI::MAIL_FORM_TYPE_ATTACH = 'attach' |
Definition at line 34 of file class.ilMailFormGUI.php.
Referenced by ilMailAttachmentGUI\cancelSaveAttachments(), and ilMailGUI\executeCommand().
const ilMailFormGUI::MAIL_FORM_TYPE_DRAFT = 'draft' |
Definition at line 41 of file class.ilMailFormGUI.php.
Referenced by ilMailFolderTableGUI\addViewRowAction(), and ilMailFolderTableGUI\fetchTableData().
const ilMailFormGUI::MAIL_FORM_TYPE_FORWARD = 'forward' |
Definition at line 40 of file class.ilMailFormGUI.php.
Referenced by ilMailFolderTableGUI\addForwardRowAction(), and ilMailFolderGUI\confirmDeleteMails().
const ilMailFormGUI::MAIL_FORM_TYPE_NEW = 'new' |
Definition at line 36 of file class.ilMailFormGUI.php.
Referenced by ilMailGUI\executeCommand(), ilMailMemberSearchGUI\sendMailToSelectedUsers(), and ilMailGUI\showHeader().
const ilMailFormGUI::MAIL_FORM_TYPE_REPLY = 'reply' |
Definition at line 38 of file class.ilMailFormGUI.php.
Referenced by ilMailFolderTableGUI\addReplyRowAction(), ilMailFolderGUI\confirmDeleteMails(), and ilMailGUI\executeCommand().
const ilMailFormGUI::MAIL_FORM_TYPE_ROLE = 'role' |
Definition at line 37 of file class.ilMailFormGUI.php.
Referenced by ilMailGUI\executeCommand(), and ilMailMemberSearchGUI\nextMailForm().
const ilMailFormGUI::MAIL_FORM_TYPE_SEARCH_RESULT = 'search_res' |
Definition at line 35 of file class.ilMailFormGUI.php.
Referenced by ilMailGUI\executeCommand().