|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
@ilCtrl_Calls ilMailFormGUI: ilMailAttachmentGUI, ilMailSearchGUI, ilMailSearchCoursesGUI, ilMailSearchGroupsGUI, ilMailingListsGUI, ilMailFormUploadHandlerGUI @ilCtrl_Calls ilMailFormGUI: ILIAS\User\Search\EndpointGUI More...
Collaboration diagram for ilMailFormGUI:Public Member Functions | |
| executeCommand () | |
| saveMessageToOutbox (array $form_values, Form $form) | |
| sendMessage () | |
| saveDraft () | |
| searchUsers (bool $save=true) | |
| searchCoursesTo () | |
| searchGroupsTo () | |
| search () | |
| cancelSearch () | |
| editAttachments () | |
| returnFromAttachments () | |
| searchResults () | |
| mailUser () | |
| mailRole () | |
| replyMail () | |
| mailAttachment () | |
| showForm (?Form $form=null) | |
| lookupRecipientAsync () | |
| cancelMail () | |
| searchMailingListsTo () | |
Data Fields | |
| final const string | MAIL_FORM_TYPE_ATTACH = 'attach' |
| final const string | MAIL_FORM_TYPE_SEARCH_RESULT = 'search_res' |
| final const string | MAIL_FORM_TYPE_NEW = 'new' |
| final const string | MAIL_FORM_TYPE_ROLE = 'role' |
| final const string | MAIL_FORM_TYPE_REPLY = 'reply' |
| final const string | MAIL_FORM_TYPE_ADDRESS = 'address' |
| final const string | MAIL_FORM_TYPE_FORWARD = 'forward' |
| final const string | MAIL_FORM_TYPE_DRAFT = 'draft' |
| final const string | MAIL_FORM_TYPE_OUTBOX = 'outbox' |
| final const string | PARAM_SCHEDULED_EDIT_FROM_OUTBOX = 'scheduled_edit_from_outbox' |
| final const string | MAIL_FORM_MODE_REGULAR_MAIL = 'regular_mail' |
| final const string | MAIL_FORM_MODE_SERIAL_LETTER = 'serial_letter' |
Protected Member Functions | |
| getTemplateDataById () | |
| tryHandleAttachments (array $attachments, ?Form $form=null) | |
| showSubmissionErrors (array $errors) | |
| buildForm (?array $mail_data=null) | |
| buildFormElements (?array $mail_data) | |
| addToolbarButtons (Form $form) | |
Protected Attributes | |
| ilMailTemplateService | $template_service |
Private Member Functions | |
| getQueryParam (string $name, Transformation $trafo, $default=null) | |
| getBodyParam (string $name, Transformation $trafo, $default=null) | |
| resetStage () | |
| getOwnMailOrRedirect (int $mail_id) | |
| saveMailBeforeSearch (?array $input_results=null) | |
| getUserSearchConfigurator () | |
| mailFormToolbarDelegatedSubmitJs (string $toolbar_button_id, string $form_action) | |
| toggleMailMode () | |
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 |
| MailAttachments | $request_attachments = null |
| readonly ilMailBodyPurifier | $purifier |
| string | $mail_form_type = '' |
| readonly Factory | $ui_factory |
| readonly Renderer | $ui_renderer |
| readonly Psr Http Message ServerRequestInterface | $request |
| readonly ArrayBasedRequestWrapper | $post |
| readonly ArrayBasedRequestWrapper | $query |
| readonly ilMailFormUploadHandlerGUI | $upload_handler |
| readonly ilFileDataMail | $fdm |
| readonly ILIAS ResourceStorage Services | $storage |
| readonly ilSetting | $settings |
| readonly ILIAS User Search Search | $user_search |
| readonly ClockFactory | $clock |
@ilCtrl_Calls ilMailFormGUI: ilMailAttachmentGUI, ilMailSearchGUI, ilMailSearchCoursesGUI, ilMailSearchGroupsGUI, ilMailingListsGUI, ilMailFormUploadHandlerGUI @ilCtrl_Calls ilMailFormGUI: ILIAS\User\Search\EndpointGUI
Definition at line 46 of file class.ilMailFormGUI.php.
|
protected |
Definition at line 1338 of file class.ilMailFormGUI.php.
References $id, ILIAS\Repository\ctrl(), ILIAS\UI\Component\Input\Container\Container\getInputs(), ilBuddyList\getInstanceByGlobalUser(), ILIAS\UI\Implementation\Component\Input\getValue(), ILIAS\Repository\lng(), mailFormToolbarDelegatedSubmitJs(), and ILIAS\Repository\toolbar().
Referenced by showForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1070 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\UI\Component\Input\Container\Form\Form\withAdditionalFormAction().
Referenced by saveDraft(), saveMailBeforeSearch(), sendMessage(), showForm(), and toggleMailMode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1086 of file class.ilMailFormGUI.php.
References $id, ILIAS\UI\Implementation\Component\Input\Field\$options, ilMailFormCall\getContextId(), ilLoggerFactory\getLogger(), ilMailTemplateContextService\getTemplateContextById(), getUserSearchConfigurator(), ILIAS\Repository\int(), ILIAS\Mail\Attachments\MailAttachments\isEmpty(), ILIAS\Repository\lng(), MAIL_FORM_MODE_REGULAR_MAIL, MAIL_FORM_MODE_SERIAL_LETTER, ILIAS\Repository\refinery(), ILIAS\Repository\user(), ILIAS\UI\Implementation\Component\Input\ViewControl\withAdditionalTransformation(), and ILIAS\UI\Implementation\Component\Input\withValue().
Here is the call graph for this function:| ilMailFormGUI::cancelMail | ( | ) |
Definition at line 988 of file class.ilMailFormGUI.php.
References ilMailFormCall\getRefererRedirectUrl(), ilMailFormCall\isRefererStored(), ilUtil\redirect(), and showForm().
Here is the call graph for this function:| ilMailFormGUI::cancelSearch | ( | ) |
Definition at line 560 of file class.ilMailFormGUI.php.
References ilSession\clear(), and searchResults().
Here is the call graph for this function:| ilMailFormGUI::editAttachments | ( | ) |
Definition at line 566 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), and saveMailBeforeSearch().
Here is the call graph for this function:| ilMailFormGUI::executeCommand | ( | ) |
Definition at line 164 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), and getUserSearchConfigurator().
Here is the call graph for this function:
|
private |
Definition at line 152 of file class.ilMailFormGUI.php.
References ILIAS\FileDelivery\http().
Referenced by lookupRecipientAsync(), and search().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 932 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE.
Referenced by showForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 140 of file class.ilMailFormGUI.php.
References ILIAS\FileDelivery\http().
Referenced by showForm(), and toggleMailMode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 610 of file class.ilMailFormGUI.php.
References ilMailTemplateContextService\getTemplateContextById(), and ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
private |
Definition at line 1081 of file class.ilMailFormGUI.php.
Referenced by buildFormElements(), and executeCommand().
Here is the caller graph for this function:| ilMailFormGUI::lookupRecipientAsync | ( | ) |
Definition at line 947 of file class.ilMailFormGUI.php.
References getBodyParam(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), ilUtil\stripSlashes(), and ilStr\strLen().
Here is the call graph for this function:| ilMailFormGUI::mailAttachment | ( | ) |
Definition at line 604 of file class.ilMailFormGUI.php.
References MAIL_FORM_TYPE_ATTACH, and showForm().
Here is the call graph for this function:
|
private |
Definition at line 1444 of file class.ilMailFormGUI.php.
Referenced by addToolbarButtons().
Here is the caller graph for this function:| ilMailFormGUI::mailRole | ( | ) |
Definition at line 592 of file class.ilMailFormGUI.php.
References MAIL_FORM_TYPE_ROLE, and showForm().
Here is the call graph for this function:| ilMailFormGUI::mailUser | ( | ) |
Definition at line 586 of file class.ilMailFormGUI.php.
References MAIL_FORM_TYPE_NEW, and showForm().
Here is the call graph for this function:| ilMailFormGUI::replyMail | ( | ) |
Definition at line 598 of file class.ilMailFormGUI.php.
References MAIL_FORM_TYPE_REPLY, and showForm().
Here is the call graph for this function:
|
private |
Definition at line 484 of file class.ilMailFormGUI.php.
References ILIAS\Repository\user().
Referenced by saveDraft(), and saveMessageToOutbox().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailFormGUI::returnFromAttachments | ( | ) |
Definition at line 574 of file class.ilMailFormGUI.php.
References MAIL_FORM_TYPE_ATTACH, and showForm().
Here is the call graph for this function:| ilMailFormGUI::saveDraft | ( | ) |
Definition at line 405 of file class.ilMailFormGUI.php.
References Vendor\Package\$e, buildForm(), ilSession\clear(), ILIAS\Repository\ctrl(), ilSession\get(), ilMailFormCall\getContextId(), ilMailFormCall\getContextParameters(), ilMailFormCall\getRefererRedirectUrl(), ILIAS\Repository\int(), ilMailFormCall\isRefererStored(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, ilUtil\redirect(), resetStage(), ilUtil\securePlainString(), showForm(), and showSubmissionErrors().
Here is the call graph for this function:
|
private |
| array<string| |
ILIAS\UI\Component\Input\Input>|null $input_results
Definition at line 1000 of file class.ilMailFormGUI.php.
References buildForm(), ilMailFormCall\getContextId(), ilMailFormCall\getContextParameters(), ILIAS\UI\Implementation\Component\Input\getValue(), ilUtil\securePlainString(), tryHandleAttachments(), and ILIAS\Repository\user().
Referenced by editAttachments(), searchCoursesTo(), searchGroupsTo(), searchMailingListsTo(), searchUsers(), and toggleMailMode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailFormGUI::saveMessageToOutbox | ( | array | $form_values, |
| Form | $form | ||
| ) |
Definition at line 217 of file class.ilMailFormGUI.php.
References Vendor\Package\$e, ilSession\clear(), ILIAS\Repository\ctrl(), ilSession\get(), ILIAS\UI\Implementation\Component\Input\ViewControl\getContent(), ilMailFormCall\getContextId(), ilMailFormCall\getContextParameters(), ilMailFormCall\getRefererRedirectUrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), ilMailFormCall\isRefererStored(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, ilUtil\redirect(), resetStage(), ilUtil\securePlainString(), showForm(), showSubmissionErrors(), and ILIAS\Repository\user().
Referenced by sendMessage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailFormGUI::search | ( | ) |
Definition at line 536 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), ilSession\get(), getBodyParam(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), searchUsers(), ilUtil\securePlainString(), and ilSession\set().
Here is the call graph for this function:| ilMailFormGUI::searchCoursesTo | ( | ) |
Definition at line 520 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), and saveMailBeforeSearch().
Here is the call graph for this function:| ilMailFormGUI::searchGroupsTo | ( | ) |
Definition at line 528 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), and saveMailBeforeSearch().
Here is the call graph for this function:| ilMailFormGUI::searchMailingListsTo | ( | ) |
Definition at line 1035 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), and saveMailBeforeSearch().
Here is the call graph for this function:| ilMailFormGUI::searchResults | ( | ) |
Definition at line 580 of file class.ilMailFormGUI.php.
References MAIL_FORM_TYPE_SEARCH_RESULT, and showForm().
Referenced by cancelSearch().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailFormGUI::searchUsers | ( | bool | $save = true | ) |
Definition at line 489 of file class.ilMailFormGUI.php.
References ILIAS\Repository\ctrl(), ilSession\get(), ILIAS\Repository\lng(), ilLegacyFormElementsUtil\prepareFormOutput(), and saveMailBeforeSearch().
Referenced by search().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailFormGUI::sendMessage | ( | ) |
Definition at line 301 of file class.ilMailFormGUI.php.
References Vendor\Package\$e, buildForm(), ilSession\clear(), ILIAS\Repository\ctrl(), ilSession\get(), ILIAS\UI\Implementation\Component\Input\ViewControl\getContent(), ilMailFormCall\getContextId(), ilMailFormCall\getContextParameters(), ilMailFormCall\getRefererRedirectUrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), ilMailFormCall\isRefererStored(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, saveMessageToOutbox(), ilUtil\securePlainString(), showForm(), showSubmissionErrors(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilMailFormGUI::showForm | ( | ?Form | $form = null | ) |
Definition at line 637 of file class.ilMailFormGUI.php.
References $mail_form_type, addToolbarButtons(), buildForm(), ilSession\clear(), ilSession\get(), getOwnMailOrRedirect(), getQueryParam(), ilMailFormCall\getSignature(), ILIAS\FileDelivery\http(), ILIAS\Mail\Attachments\MailAttachments\isIrss(), ilMailFormCall\isRefererStored(), ILIAS\Repository\lng(), MAIL_FORM_TYPE_ADDRESS, MAIL_FORM_TYPE_ATTACH, MAIL_FORM_TYPE_DRAFT, MAIL_FORM_TYPE_FORWARD, MAIL_FORM_TYPE_NEW, MAIL_FORM_TYPE_OUTBOX, MAIL_FORM_TYPE_REPLY, MAIL_FORM_TYPE_ROLE, MAIL_FORM_TYPE_SEARCH_RESULT, ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_INFO, ILIAS\Repository\refinery(), ilUtil\securePlainString(), ilSession\set(), ilMailFormCall\setContextId(), ilMailFormCall\setContextParameters(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Referenced by cancelMail(), mailAttachment(), mailRole(), mailUser(), replyMail(), returnFromAttachments(), saveDraft(), saveMessageToOutbox(), searchResults(), sendMessage(), and tryHandleAttachments().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| list<ilMailError> | $errors |
Definition at line 1060 of file class.ilMailFormGUI.php.
References ILIAS\Repository\lng().
Referenced by saveDraft(), saveMessageToOutbox(), and sendMessage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1462 of file class.ilMailFormGUI.php.
References buildForm(), ILIAS\Repository\ctrl(), ilMailFormCall\getContextId(), getQueryParam(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and saveMailBeforeSearch().
Here is the call graph for this function:
|
protected |
| list<string> | $attachments |
Definition at line 1046 of file class.ilMailFormGUI.php.
References Vendor\Package\$e, ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, and showForm().
Referenced by saveMailBeforeSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 88 of file class.ilMailFormGUI.php.
|
private |
Definition at line 64 of file class.ilMailFormGUI.php.
|
private |
Definition at line 84 of file class.ilMailFormGUI.php.
|
private |
Definition at line 72 of file class.ilMailFormGUI.php.
|
private |
Definition at line 65 of file class.ilMailFormGUI.php.
|
private |
Definition at line 77 of file class.ilMailFormGUI.php.
Referenced by showForm().
|
private |
Definition at line 70 of file class.ilMailFormGUI.php.
|
private |
Definition at line 71 of file class.ilMailFormGUI.php.
|
private |
Definition at line 81 of file class.ilMailFormGUI.php.
|
private |
Definition at line 76 of file class.ilMailFormGUI.php.
|
private |
Definition at line 82 of file class.ilMailFormGUI.php.
|
private |
Definition at line 73 of file class.ilMailFormGUI.php.
|
private |
Definition at line 80 of file class.ilMailFormGUI.php.
|
private |
Definition at line 74 of file class.ilMailFormGUI.php.
|
private |
Definition at line 86 of file class.ilMailFormGUI.php.
|
private |
Definition at line 85 of file class.ilMailFormGUI.php.
|
private |
Definition at line 67 of file class.ilMailFormGUI.php.
|
protected |
Definition at line 75 of file class.ilMailFormGUI.php.
|
private |
Definition at line 68 of file class.ilMailFormGUI.php.
|
private |
Definition at line 63 of file class.ilMailFormGUI.php.
|
private |
Definition at line 78 of file class.ilMailFormGUI.php.
|
private |
Definition at line 79 of file class.ilMailFormGUI.php.
|
private |
Definition at line 69 of file class.ilMailFormGUI.php.
|
private |
Definition at line 83 of file class.ilMailFormGUI.php.
|
private |
Definition at line 66 of file class.ilMailFormGUI.php.
Definition at line 87 of file class.ilMailFormGUI.php.
| final const string ilMailFormGUI::MAIL_FORM_MODE_REGULAR_MAIL = 'regular_mail' |
Definition at line 60 of file class.ilMailFormGUI.php.
Referenced by buildFormElements().
| final const string ilMailFormGUI::MAIL_FORM_MODE_SERIAL_LETTER = 'serial_letter' |
Definition at line 61 of file class.ilMailFormGUI.php.
Referenced by buildFormElements().
| final const string ilMailFormGUI::MAIL_FORM_TYPE_ADDRESS = 'address' |
Definition at line 55 of file class.ilMailFormGUI.php.
Referenced by showForm().
| final const string ilMailFormGUI::MAIL_FORM_TYPE_ATTACH = 'attach' |
Definition at line 50 of file class.ilMailFormGUI.php.
Referenced by ilMailAttachmentGUI\cancelSaveAttachmentsCommand(), ilMailGUI\executeCommand(), mailAttachment(), returnFromAttachments(), and showForm().
| final const string ilMailFormGUI::MAIL_FORM_TYPE_DRAFT = 'draft' |
Definition at line 57 of file class.ilMailFormGUI.php.
Referenced by ilMailFolderGUI\executeTableAction(), and showForm().
| final const string ilMailFormGUI::MAIL_FORM_TYPE_FORWARD = 'forward' |
Definition at line 56 of file class.ilMailFormGUI.php.
Referenced by ilMailFolderGUI\executeTableAction(), and showForm().
| final const string ilMailFormGUI::MAIL_FORM_TYPE_NEW = 'new' |
Definition at line 52 of file class.ilMailFormGUI.php.
Referenced by ilMailGUI\executeCommand(), ILIAS\Mail\Provider\MailGlobalScreenToolProvider\getToolsForContextStack(), mailUser(), ilMailMemberSearchGUI\sendMailToSelectedUsers(), and showForm().
| final const string ilMailFormGUI::MAIL_FORM_TYPE_OUTBOX = 'outbox' |
Definition at line 58 of file class.ilMailFormGUI.php.
Referenced by showForm().
| final const string ilMailFormGUI::MAIL_FORM_TYPE_REPLY = 'reply' |
Definition at line 54 of file class.ilMailFormGUI.php.
Referenced by ilMailGUI\executeCommand(), ilMailFolderGUI\executeTableAction(), replyMail(), and showForm().
| final const string ilMailFormGUI::MAIL_FORM_TYPE_ROLE = 'role' |
Definition at line 53 of file class.ilMailFormGUI.php.
Referenced by ilMailGUI\executeCommand(), mailRole(), ilMailMemberSearchGUI\nextMailForm(), and showForm().
| final const string ilMailFormGUI::MAIL_FORM_TYPE_SEARCH_RESULT = 'search_res' |
Definition at line 51 of file class.ilMailFormGUI.php.
Referenced by ilMailGUI\executeCommand(), ilMailSearchObjectGUI\mailMembers(), ilMailSearchObjectGUI\mailObjects(), searchResults(), and showForm().
| final const string ilMailFormGUI::PARAM_SCHEDULED_EDIT_FROM_OUTBOX = 'scheduled_edit_from_outbox' |
Definition at line 59 of file class.ilMailFormGUI.php.
Referenced by ilMailFolderGUI\executeTableAction().