- Author
- Jens Conze
- Version
- $Id$
Definition at line 15 of file class.ilMailOptionsGUI.php.
◆ __construct()
ilMailOptionsGUI::__construct |
( |
| ) |
|
ilMailOptionsGUI constructor.
Definition at line 55 of file class.ilMailOptionsGUI.php.
References $DIC, settings(), and user().
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());
◆ executeCommand()
ilMailOptionsGUI::executeCommand |
( |
| ) |
|
Definition at line 73 of file class.ilMailOptionsGUI.php.
75 $nextClass = $this->ctrl->getNextClass($this);
78 if (!($cmd = $this->ctrl->getCmd())) {
◆ getForm()
ilMailOptionsGUI::getForm |
( |
| ) |
|
|
protected |
◆ saveOptions()
ilMailOptionsGUI::saveOptions |
( |
| ) |
|
Called if the user pushes the submit button of the mail options form.
Passes the post data to the mail options model instance to store them.
Definition at line 103 of file class.ilMailOptionsGUI.php.
References $form, getForm(), ilUtil\sendSuccess(), and showOptions().
105 $this->tpl->setTitle($this->lng->txt(
'mail'));
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
showOptions(ilMailOptionsFormGUI $form=null)
Called to display the mail options form.
if(isset($_POST['submit'])) $form
◆ showOptions()
◆ $ctrl
◆ $lng
◆ $mbox
◆ $settings
ilMailOptionsGUI::$settings |
|
private |
◆ $tpl
◆ $umail
◆ $user
The documentation for this class was generated from the following file: