41 $next_class = $this->ctrl->getNextClass($this);
42 $cmd = $this->ctrl->getCmd();
44 switch ($next_class) {
63 if (isset(
$_GET[
'member_id'])) {
66 $_POST[
'participants'] = array_unique(array_merge(
72 (array)
$_POST[
'subscribers']
76 if (!count(
$_POST[
'participants'])) {
78 $this->ctrl->returnToParent($this);
81 foreach (
$_POST[
'participants'] as $usr_id) {
85 require_once
'Services/Mail/classes/class.ilMailFormCall.php';
90 array(
'type' =>
'new',
'rcp_to' => implode(
',', $rcps),
'sig' => $this->
createMailSignature())
103 $link = chr(13) . chr(10) . chr(13) . chr(10);
104 $link .= $this->lng->txt($this->
getCurrentObject()->object->getType() .
'_mail_permanent_link');
105 $link .= chr(13) . chr(10) . chr(13) . chr(10);
106 include_once
'Services/Link/classes/class.ilLink.php';
108 return rawurlencode(base64_encode($link));
An exception for terminatinating execution or to throw for unit testing.
static _getLink($a_ref_id, $a_type='', $a_params=array(), $append="")
sendMailToSelectedUsers()
show send mail
executeCommand()
execute command
__construct(ilObjectGUI $object)
createMailSignature()
Create a course mail signature.
static _lookupLogin($a_user_id)
lookup login
Class ilObjectGUI Basic methods of all Output classes.
static redirect($a_script)
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.