4 require_once
"Services/Mail/classes/class.ilMailbox.php";
5 require_once
"Services/Mail/classes/class.ilFormatMail.php";
6 require_once
'Services/Mail/classes/class.ilMailOptions.php';
7 require_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());
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
Class ilMailOptions this class handles user mails.
saveOptions()
Called if the user pushes the submit button of the mail options form.
__construct()
ilMailOptionsGUI constructor.
showOptions(ilMailOptionsFormGUI $form=null)
Called to display the mail options form.
if(isset($_POST['submit'])) $form