ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
ilMailFormGUI: ilMailAttachmentGUI, ilMailSearchGUI, ilMailSearchCoursesGUI, ilMailSearchGroupsGUI, ilMailingListsGUI More...
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 | |
final const | MAIL_FORM_TYPE_ATTACH = 'attach' |
final const | MAIL_FORM_TYPE_SEARCH_RESULT = 'search_res' |
final const | MAIL_FORM_TYPE_NEW = 'new' |
final const | MAIL_FORM_TYPE_ROLE = 'role' |
final const | MAIL_FORM_TYPE_REPLY = 'reply' |
final const | MAIL_FORM_TYPE_ADDRESS = 'address' |
final const | MAIL_FORM_TYPE_FORWARD = 'forward' |
final 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 | |
readonly ilGlobalTemplateInterface | $tpl |
readonly ilCtrlInterface | $ctrl |
readonly ilLanguage | $lng |
readonly ilObjUser | $user |
readonly ilTabsGUI | $tabs |
readonly ilToolbarGUI | $toolbar |
readonly ilFormatMail | $umail |
readonly ilMailbox | $mbox |
readonly ilFileDataMail | $mfile |
readonly GlobalHttpState | $http |
readonly Refinery | $refinery |
array | $requestAttachments = null |
readonly ilMailBodyPurifier | $purifier |
string | $mail_form_type = '' |
readonly Factory | $ui_factory |
ilMailFormGUI: ilMailAttachmentGUI, ilMailSearchGUI, ilMailSearchCoursesGUI, ilMailSearchGroupsGUI, ilMailingListsGUI
Definition at line 31 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 980 of file class.ilMailFormGUI.php.
References ilMailFormCall\getRefererRedirectUrl(), ilMailFormCall\isRefererStored(), ilUtil\redirect(), and showForm().
ilMailFormGUI::cancelSearch | ( | ) |
Definition at line 400 of file class.ilMailFormGUI.php.
References ilSession\clear(), and searchResults().
|
protected |
string[] | $files |
Definition at line 166 of file class.ilMailFormGUI.php.
References ILIAS\Repository\user().
Referenced by saveDraft(), and sendMessage().
ilMailFormGUI::editAttachments | ( | ) |
Definition at line 406 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 121 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl().
|
private |
Definition at line 109 of file class.ilMailFormGUI.php.
References ILIAS\FileDelivery\http().
Referenced by __construct(), editAttachments(), lookupRecipientAsync(), saveDraft(), saveMailBeforeSearch(), search(), searchUsers(), and sendMessage().
|
private |
Definition at line 97 of file class.ilMailFormGUI.php.
References ILIAS\FileDelivery\http().
Referenced by __construct(), lookupRecipientAsync(), and showForm().
|
protected |
Definition at line 473 of file class.ilMailFormGUI.php.
References ilMailTemplateContextService\getTemplateContextById(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
ilMailFormGUI::lookupRecipientAsync | ( | ) |
Definition at line 939 of file class.ilMailFormGUI.php.
References getBodyParam(), getQueryParam(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), ilUtil\stripSlashes(), and ilStr\strLen().
ilMailFormGUI::mailAttachment | ( | ) |
Definition at line 467 of file class.ilMailFormGUI.php.
References showForm().
ilMailFormGUI::mailRole | ( | ) |
Definition at line 455 of file class.ilMailFormGUI.php.
References showForm().
ilMailFormGUI::mailUser | ( | ) |
Definition at line 449 of file class.ilMailFormGUI.php.
References showForm().
ilMailFormGUI::replyMail | ( | ) |
Definition at line 461 of file class.ilMailFormGUI.php.
References showForm().
ilMailFormGUI::returnFromAttachments | ( | ) |
Definition at line 437 of file class.ilMailFormGUI.php.
References showForm().
ilMailFormGUI::saveDraft | ( | ) |
Definition at line 240 of file class.ilMailFormGUI.php.
References 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 989 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 376 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 356 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), ilSession\get(), and saveMailBeforeSearch().
ilMailFormGUI::searchGroupsTo | ( | ) |
Definition at line 368 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), and saveMailBeforeSearch().
ilMailFormGUI::searchMailingListsTo | ( | ) |
Definition at line 1017 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), and saveMailBeforeSearch().
ilMailFormGUI::searchResults | ( | ) |
Definition at line 443 of file class.ilMailFormGUI.php.
References showForm().
Referenced by cancelSearch().
ilMailFormGUI::searchUsers | ( | bool | $save = true | ) |
Definition at line 301 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 179 of file class.ilMailFormGUI.php.
References $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 500 of file class.ilMailFormGUI.php.
References $context, $data, $id, $mail_form_type, $requestAttachments, ilSession\clear(), ILIAS\Repository\ctrl(), ilUtil\formatSize(), ilSession\get(), ilMailFormCall\getContextId(), ilBuddyList\getInstanceByGlobalUser(), ilLoggerFactory\getLogger(), getQueryParam(), ilMailFormCall\getSignature(), ilMailTemplateContextService\getTemplateContextById(), ilFormPropertyGUI\getTitle(), ILIAS\FileDelivery\http(), ilMailFormCall\isRefererStored(), ILIAS\Repository\lng(), null, ILIAS\Repository\refinery(), ilUtil\securePlainString(), ilSession\set(), ilMailFormCall\setContextId(), ilMailFormCall\setContextParameters(), ilManualPlaceholderInputGUI\setInstructionText(), ilTextAreaInputGUI\setValue(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), ILIAS\Refinery\transform(), ILIAS\Repository\user(), and ILIAS\UI\Implementation\Component\withOnLoadCode().
Referenced by cancelMail(), mailAttachment(), mailRole(), mailUser(), replyMail(), returnFromAttachments(), saveDraft(), searchResults(), and sendMessage().
|
protected |
ilMailError[] | $errors |
Definition at line 1028 of file class.ilMailFormGUI.php.
References ILIAS\Repository\lng().
Referenced by saveDraft(), and sendMessage().
|
private |
Definition at line 43 of file class.ilMailFormGUI.php.
|
private |
Definition at line 51 of file class.ilMailFormGUI.php.
|
private |
Definition at line 44 of file class.ilMailFormGUI.php.
|
private |
Definition at line 56 of file class.ilMailFormGUI.php.
Referenced by showForm().
|
private |
Definition at line 49 of file class.ilMailFormGUI.php.
|
private |
Definition at line 50 of file class.ilMailFormGUI.php.
|
private |
Definition at line 55 of file class.ilMailFormGUI.php.
|
private |
Definition at line 52 of file class.ilMailFormGUI.php.
|
private |
Definition at line 53 of file class.ilMailFormGUI.php.
Referenced by showForm().
|
private |
Definition at line 46 of file class.ilMailFormGUI.php.
|
protected |
Definition at line 54 of file class.ilMailFormGUI.php.
|
private |
Definition at line 47 of file class.ilMailFormGUI.php.
|
private |
Definition at line 42 of file class.ilMailFormGUI.php.
|
private |
Definition at line 57 of file class.ilMailFormGUI.php.
|
private |
Definition at line 48 of file class.ilMailFormGUI.php.
|
private |
Definition at line 45 of file class.ilMailFormGUI.php.
final const ilMailFormGUI::MAIL_FORM_TYPE_ADDRESS = 'address' |
Definition at line 38 of file class.ilMailFormGUI.php.
final const ilMailFormGUI::MAIL_FORM_TYPE_ATTACH = 'attach' |
Definition at line 33 of file class.ilMailFormGUI.php.
Referenced by ilMailAttachmentGUI\cancelSaveAttachments(), and ilMailGUI\executeCommand().
final const ilMailFormGUI::MAIL_FORM_TYPE_DRAFT = 'draft' |
Definition at line 40 of file class.ilMailFormGUI.php.
Referenced by ilMailFolderGUI\executeTableAction().
final const ilMailFormGUI::MAIL_FORM_TYPE_FORWARD = 'forward' |
Definition at line 39 of file class.ilMailFormGUI.php.
Referenced by ilMailFolderGUI\confirmDeleteMails(), and ilMailFolderGUI\executeTableAction().
final const ilMailFormGUI::MAIL_FORM_TYPE_NEW = 'new' |
Definition at line 35 of file class.ilMailFormGUI.php.
Referenced by ilMailGUI\executeCommand(), ilMailMemberSearchGUI\sendMailToSelectedUsers(), and ilMailGUI\showHeader().
final const ilMailFormGUI::MAIL_FORM_TYPE_REPLY = 'reply' |
Definition at line 37 of file class.ilMailFormGUI.php.
Referenced by ilMailFolderGUI\confirmDeleteMails(), ilMailGUI\executeCommand(), and ilMailFolderGUI\executeTableAction().
final const ilMailFormGUI::MAIL_FORM_TYPE_ROLE = 'role' |
Definition at line 36 of file class.ilMailFormGUI.php.
Referenced by ilMailGUI\executeCommand(), and ilMailMemberSearchGUI\nextMailForm().
final const ilMailFormGUI::MAIL_FORM_TYPE_SEARCH_RESULT = 'search_res' |
Definition at line 34 of file class.ilMailFormGUI.php.
Referenced by ilMailGUI\executeCommand().