23 $ilCtrl = $DIC[
'ilCtrl'];
27 $this->ctrl = $ilCtrl;
44 $next_class = $this->ctrl->getNextClass($this);
45 $cmd = $this->ctrl->getCmd();
47 switch ($next_class) {
66 if (isset(
$_GET[
'member_id'])) {
69 $_POST[
'participants'] = array_unique(array_merge(
71 (array) $_POST[
'tutors'],
72 (array) $_POST[
'members'],
73 (array) $_POST[
'roles'],
74 (array) $_POST[
'waiting'],
75 (array) $_POST[
'subscribers']
79 if (!count(
$_POST[
'participants'])) {
81 $this->ctrl->returnToParent($this);
84 foreach (
$_POST[
'participants'] as $usr_id) {
88 require_once
'Services/Mail/classes/class.ilMailFormCall.php';
93 array(
'type' =>
'new',
'rcp_to' => implode(
',', $rcps),
'sig' => $this->
createMailSignature())
106 $link = chr(13) . chr(10) . chr(13) . chr(10);
107 $link .= $this->lng->txt($this->
getCurrentObject()->object->getType() .
'_mail_permanent_link');
108 $link .= chr(13) . chr(10) . chr(13) . chr(10);
109 include_once
'Services/Link/classes/class.ilLink.php';
111 return rawurlencode(base64_encode($link));
createMailSignature()
Create a course mail signature.
static _lookupLogin($a_user_id)
lookup login
executeCommand()
execute command
__construct(ilObjectGUI $object)
Class ilObjectGUI Basic methods of all Output classes.
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
sendMailToSelectedUsers()
show send mail
static redirect($a_script)
static _getLink($a_ref_id, $a_type='', $a_params=array(), $append="")