4require_once
"Services/Mail/classes/class.ilMailbox.php";
5require_once
"Services/Mail/classes/class.ilFormatMail.php";
6require_once
'Services/Mail/classes/class.ilMailOptions.php';
7require_once
'Services/Mail/classes/class.ilMailOptionsFormGUI.php';
59 $this->tpl =
$DIC->ui()->mainTemplate();
60 $this->ctrl =
$DIC->ctrl();
62 $this->lng =
$DIC->language();
63 $this->
user = $DIC->user();
65 $this->lng->loadLanguageModule(
'mail');
67 $this->ctrl->saveParameter($this,
'mobj_id');
70 $this->mbox =
new ilMailBox($this->
user->getId());
75 $nextClass = $this->ctrl->getNextClass($this);
78 if (!($cmd = $this->ctrl->getCmd())) {
105 $this->tpl->setTitle($this->lng->txt(
'mail'));
121 if (
null ===
$form) {
125 $form->setValuesByPost();
128 $this->tpl->setContent(
$form->getHTML());
An exception for terminatinating execution or to throw for unit testing.
showOptions(ilMailOptionsFormGUI $form=null)
Called to display the mail options form.
saveOptions()
Called if the user pushes the submit button of the mail options form.
__construct()
ilMailOptionsGUI constructor.
Class ilMailOptions this class handles user mails.
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
if(isset($_POST['submit'])) $form