ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
ilMailFolderGUI Class Reference
+ Collaboration diagram for ilMailFolderGUI:

Public Member Functions

 __construct ()
 
 executeCommand ()
 
 add ()
 
 cancelEmptyTrash ()
 cancel Empty Trash Action and return to folder More...
 
 performEmptyTrash ()
 empty Trash and return to folder More...
 
 askForEmptyTrash ()
 confirmation message for empty trash action More...
 
 showUser ()
 
 addSubfolderCommands ($check_uf=false)
 
 deleteSubfolder ($a_show_confirm=true)
 
 performDeleteSubFolder ()
 
 performAddSubFolder ()
 
 performRenameSubFolder ()
 
 changeFolder ()
 
 editFolder ()
 
 confirmDeleteMails ()
 
 cancelDeleteMails ()
 
 deliverFile ()
 
 applyFilter ()
 
 resetFilter ()
 

Data Fields

 $umail = null
 
 $mbox = null
 

Private Attributes

 $current_select_cmd
 
 $current_selected_cmd
 
 $tpl = null
 
 $ctrl = null
 
 $lng = null
 
 $errorDelete = false
 

Detailed Description

Author
Jens Conze
Version
$Id$

@ilCtrl_Calls ilMailFolderGUI: ilMailOptionsGUI, ilMailAttachmentGUI, ilMailSearchGUI @ilCtrl_Calls ilMailFolderGUI: ilPublicUserProfileGUI

Definition at line 23 of file class.ilMailFolderGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilMailFolderGUI::__construct ( )

Definition at line 37 of file class.ilMailFolderGUI.php.

38 {
39 global $tpl, $ilCtrl, $lng, $ilUser;
40
41 $this->tpl = $tpl;
42 $this->ctrl = $ilCtrl;
43 $this->lng = $lng;
44
45 $this->umail = new ilMail($ilUser->getId());
46 $this->mbox = new ilMailBox($ilUser->getId());
47
48 if(isset($_POST['mobj_id']) && (int)$_POST['mobj_id'])
49 {
50 $_GET['mobj_id'] = $_POST['mobj_id'];
51 }
52 // IF THERE IS NO OBJ_ID GIVEN GET THE ID OF MAIL ROOT NODE
53 if(!(int)$_GET['mobj_id'])
54 {
55 $_GET['mobj_id'] = $this->mbox->getInboxFolder();
56 }
57 $_GET['mobj_id'] = (int)$_GET['mobj_id'];
58 $ilCtrl->saveParameter($this, 'mobj_id');
59 $ilCtrl->setParameter($this, 'mobj_id', $_GET['mobj_id']);
60
61 }
$_GET["client_id"]
Class Mail this class handles base functions for mail handling.
$_POST['username']
Definition: cron.php:12
global $ilCtrl
Definition: ilias.php:18
global $ilUser
Definition: imgupload.php:15

References $_GET, $_POST, $ilCtrl, $ilUser, $lng, and $tpl.

Member Function Documentation

◆ add()

ilMailFolderGUI::add ( )

Definition at line 142 of file class.ilMailFolderGUI.php.

143 {
144 global $lng, $ilUser;
145
146 if($_GET["mail_id"] != "")
147 {
148 if (is_array($mail_data = $this->umail->getMail($_GET["mail_id"])))
149 {
150 require_once "Services/Contact/classes/class.ilAddressbook.php";
151 $abook = new ilAddressbook($ilUser->getId());
152
153 $tmp_user = new ilObjUser($mail_data["sender_id"]);
154 if ($abook->checkEntryByLogin($tmp_user->getLogin()) > 0)
155 {
156 ilUtil::sendInfo($lng->txt("mail_entry_exists"));
157 }
158 else
159 {
160 $abook->addEntry($tmp_user->getLogin(),
161 $tmp_user->getFirstname(),
162 $tmp_user->getLastname(),
163 $tmp_user->getEmail());
164 ilUtil::sendInfo($lng->txt("mail_entry_added"));
165 }
166 }
167 }
168 $this->showMail();
169 }
Mail Box class Base class for creating and handling mail boxes.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.

References $_GET, $ilUser, $lng, and ilUtil\sendInfo().

+ Here is the call graph for this function:

◆ addSubfolderCommands()

ilMailFolderGUI::addSubfolderCommands (   $check_uf = false)

Definition at line 227 of file class.ilMailFolderGUI.php.

228 {
229 global $ilToolbar;
230
232 {
233 $ilToolbar->addSeparator();
234 }
235
236 $ilToolbar->addButton($this->lng->txt('mail_add_subfolder'), $this->ctrl->getLinkTarget($this, 'addSubFolder'));
237
238 if($check_uf == true)
239 {
240 $ilToolbar->addButton($this->lng->txt('rename'), $this->ctrl->getLinkTarget($this, 'renameSubFolder'));
241 $ilToolbar->addButton($this->lng->txt('delete'), $this->ctrl->getLinkTarget($this, 'deleteSubFolder'));
242 }
243 return true;
244 }
const VIEWMODE_SESSION_KEY
static get($a_var)
Get a value.

References ilSession\get(), and ilMailGUI\VIEWMODE_SESSION_KEY.

+ Here is the call graph for this function:

◆ applyFilter()

ilMailFolderGUI::applyFilter ( )

Definition at line 1059 of file class.ilMailFolderGUI.php.

1060 {
1061 $sentFolderId = $this->mbox->getSentFolder();
1062 $draftsFolderId = $this->mbox->getDraftsFolder();
1063
1064 $isTrashFolder = $_GET['mobj_id'] == $this->mbox->getTrashFolder();
1065 $isSentFolder = $_GET['mobj_id'] == $sentFolderId;
1066 $isDraftFolder = $_GET['mobj_id'] == $draftsFolderId;
1067
1068 $table = new ilMailFolderTableGUI($this, (int)$_GET['mobj_id'], 'showFolder');
1069 $table->isSentFolder($isSentFolder)
1070 ->isDraftFolder($isDraftFolder)
1071 ->isTrashFolder($isTrashFolder)
1072 ->initFilter();
1073 $table->resetOffset();
1074 $table->writeFilterToSession();
1075
1076 $this->showFolder();
1077 }

References $_GET.

◆ askForEmptyTrash()

ilMailFolderGUI::askForEmptyTrash ( )

confirmation message for empty trash action

Definition at line 192 of file class.ilMailFolderGUI.php.

193 {
194 if($this->umail->countMailsOfFolder((int)$_GET['mobj_id']))
195 {
196 $this->askForConfirmation = true;
197 }
198
199 $this->showFolder();
200
201 return true;
202 }

References $_GET.

◆ cancelDeleteMails()

ilMailFolderGUI::cancelDeleteMails ( )

Definition at line 692 of file class.ilMailFolderGUI.php.

693 {
694 $this->ctrl->redirect($this);
695 }

◆ cancelEmptyTrash()

ilMailFolderGUI::cancelEmptyTrash ( )

cancel Empty Trash Action and return to folder

Definition at line 174 of file class.ilMailFolderGUI.php.

175 {
176 $this->showFolder();
177 }

◆ changeFolder()

ilMailFolderGUI::changeFolder ( )

Definition at line 560 of file class.ilMailFolderGUI.php.

561 {
562 switch ($this->current_selected_cmd)
563 {
564 default:
565 if(!(int)$_GET["mail_id"] || !(int)$this->current_selected_cmd)
566 {
567 ilUtil::sendInfo($this->lng->txt("mail_move_error"));
568 return $this->showMail();
569 }
570
571 if ($this->umail->moveMailsToFolder(array($_GET["mail_id"]), $this->current_selected_cmd))
572 {
573 ilUtil::sendInfo($this->lng->txt("mail_moved"), true);
574 $this->ctrl->redirectByClass("ilMailGUI");
575 }
576 else
577 {
578 ilUtil::sendInfo($this->lng->txt("mail_move_error"));
579 }
580 break;
581 }
582
583 $this->showMail();
584
585 return true;
586 }

References $_GET, and ilUtil\sendInfo().

+ Here is the call graph for this function:

◆ confirmDeleteMails()

ilMailFolderGUI::confirmDeleteMails ( )

Definition at line 669 of file class.ilMailFolderGUI.php.

670 {
671 if($this->mbox->getTrashFolder() == $_GET['mobj_id'])
672 {
673 $_POST['mail_id'] = $mail_ids = explode(',', $_GET['mail_id']);
674 if(!is_array($mail_ids))
675 {
676 ilUtil::sendInfo($this->lng->txt('mail_select_one'));
677 }
678 else if($this->umail->deleteMails($mail_ids))
679 {
680 $_GET['offset'] = 0;
681 ilUtil::sendInfo($this->lng->txt('mail_deleted'));
682 }
683 else
684 {
685 ilUtil::sendInfo($this->lng->txt('mail_delete_error'));
686 }
687 }
688
689 $this->showFolder();
690 }

References $_GET, $_POST, and ilUtil\sendInfo().

+ Here is the call graph for this function:

◆ deleteSubfolder()

ilMailFolderGUI::deleteSubfolder (   $a_show_confirm = true)

Definition at line 403 of file class.ilMailFolderGUI.php.

404 {
405 if($a_show_confirm)
406 {
407 include_once './Services/Utilities/classes/class.ilConfirmationGUI.php';
408 $oConfirmationGUI = new ilConfirmationGUI();
409
410 // set confirm/cancel commands
411 $oConfirmationGUI->setFormAction($this->ctrl->getFormAction($this,"showFolder"));
412 $oConfirmationGUI->setHeaderText($this->lng->txt("mail_sure_delete_folder"));
413 $oConfirmationGUI->setCancel($this->lng->txt("cancel"), "showFolder");
414 $oConfirmationGUI->setConfirm($this->lng->txt("confirm"), "performDeleteSubfolder");
415 $this->tpl->setVariable('CONFIRMATION',$oConfirmationGUI->getHTML());
416
417 return $this->showFolder(true);
418 }
419 else
420 return $this->showFolder(false);
421 }
Confirmation screen class.

◆ deliverFile()

ilMailFolderGUI::deliverFile ( )

Definition at line 1016 of file class.ilMailFolderGUI.php.

1017 {
1018 if ($_SESSION["mail_id"])
1019 {
1020 $_GET["mail_id"] = $_SESSION["mail_id"];
1021 }
1022 $_SESSION["mail_id"] = "";
1023
1024 $filename = ($_SESSION["filename"]
1025 ? $_SESSION["filename"]
1026 : ($_POST["filename"]
1027 ? $_POST["filename"]
1028 : $_GET["filename"]));
1029 $_SESSION["filename"] = "";
1030
1031 if ($filename != "")
1032 {
1033 require_once "./Services/Mail/classes/class.ilFileDataMail.php";
1034
1035 // secure filename
1036 $filename = str_replace("..", "", $filename);
1037
1038 $mfile = new ilFileDataMail($_SESSION["AccountId"]);
1039 if(!is_array($file = $mfile->getAttachmentPathByMD5Filename($filename, $_GET['mail_id'])))
1040 {
1041 ilUtil::sendInfo($this->lng->txt('mail_error_reading_attachment'));
1042 $this->showMail();
1043 }
1044 else
1045 {
1046 ilUtil::deliverFile($file['path'], $file['filename']);
1047 }
1048 }
1049 else
1050 {
1051 ilUtil::sendInfo($this->lng->txt('mail_select_attachment'));
1052 $this->showMail();
1053 }
1054 }
print $file
$filename
Definition: buildRTE.php:89
This class handles all operations on files (attachments) in directory ilias_data/mail.
static deliverFile($a_file, $a_filename, $a_mime='', $isInline=false, $removeAfterDelivery=false, $a_exit_after=true)
deliver file for download via browser.
< a tabindex="-1" style="border-style: none;" href="#" title="Refresh Image" onclick="document.getElementById('siimage').src = './securimage_show.php?sid=' + Math.random(); this.blur(); return false">< img src="./images/refresh.png" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0"/></a >< br/>< strong > Enter Code *if($_SERVER['REQUEST_METHOD']=='POST' &&@ $_POST['do']=='contact') $_SESSION['ctform']['success']

References $_GET, $_POST, $_SESSION, $file, $filename, ilUtil\deliverFile(), and ilUtil\sendInfo().

+ Here is the call graph for this function:

◆ editFolder()

ilMailFolderGUI::editFolder ( )

Definition at line 588 of file class.ilMailFolderGUI.php.

589 {
590 switch ($this->current_selected_cmd)
591 {
592 case 'markMailsRead':
593 if(is_array($_POST["mail_id"]))
594 {
595 $this->umail->markRead($_POST["mail_id"]);
596 }
597 else
598 {
599 ilUtil::sendInfo($this->lng->txt("mail_select_one"));
600 }
601 break;
602 case 'markMailsUnread':
603 if(is_array($_POST["mail_id"]))
604 {
605 $this->umail->markUnread($_POST["mail_id"]);
606 }
607 else
608 {
609 ilUtil::sendInfo($this->lng->txt("mail_select_one"));
610 }
611 break;
612
613 case 'deleteMails':
614 // IF MAILBOX IS TRASH ASK TO CONFIRM
615 if($this->mbox->getTrashFolder() == $_GET["mobj_id"])
616 {
617 if(!is_array($_POST["mail_id"]))
618 {
619 ilUtil::sendInfo($this->lng->txt("mail_select_one"));
620 $this->errorDelete = true;
621 }
622 } // END IF MAILBOX IS TRASH FOLDER
623 else
624 {
625 // MOVE MAILS TO TRASH
626 if(!is_array($_POST["mail_id"]))
627 {
628 ilUtil::sendInfo($this->lng->txt("mail_select_one"));
629 }
630 else if($this->umail->moveMailsToFolder($_POST["mail_id"], $this->mbox->getTrashFolder()))
631 {
632 $_GET["offset"] = 0;
633 ilUtil::sendInfo($this->lng->txt("mail_moved_to_trash"));
634 }
635 else
636 {
637 ilUtil::sendInfo($this->lng->txt("mail_move_error"));
638 }
639 }
640 break;
641
642 case 'add':
643 $this->ctrl->setParameterByClass("ilmailoptionsgui", "cmd", "add");
644 $this->ctrl->redirectByClass("ilmailoptionsgui");
645
646 case 'moveMails':
647 default:
648 if(!is_array($_POST["mail_id"]))
649 {
650 ilUtil::sendInfo($this->lng->txt("mail_select_one"));
651 }
652 else if($this->umail->moveMailsToFolder($_POST["mail_id"],$this->current_selected_cmd))
653 {
654 ilUtil::sendInfo($this->lng->txt("mail_moved"));
655 }
656 else
657 {
658 ilUtil::sendInfo($this->lng->txt("mail_move_error"));
659 }
660 break;
661 }
662
663 $this->showFolder();
664 }

References $_GET, $_POST, and ilUtil\sendInfo().

+ Here is the call graph for this function:

◆ executeCommand()

ilMailFolderGUI::executeCommand ( )

Definition at line 63 of file class.ilMailFolderGUI.php.

64 {
65 if ($_POST["select_cmd"])
66 {
67 $_GET["cmd"] = 'editFolder';
68
69 // lower menubar execute-button
70 $this->current_select_cmd = $_POST['select_cmd'];
71 $this->current_selected_cmd = $_POST['selected_cmd'];
72 }
73 else if ($_POST["select_cmd2"])
74 {
75 // upper menubar execute-button
76 $_GET["cmd"] = 'editFolder';
77 $this->current_select_cmd = $_POST['select_cmd2'];
78 $this->current_selected_cmd = $_POST['selected_cmd2'];
79 }
80
81 /* Fix: User views mail and wants to delete it...
82 mjansen: The mail system needs a revision :-)
83 */
84 if ($_GET['selected_cmd'] == "deleteMails" && $_GET["mail_id"])
85 {
86 $_GET["cmd"] = "editFolder";
87 $this->current_selected_cmd = "deleteMails";
88 $_POST["mail_id"] = array($_GET["mail_id"]);
89 }
90
91 /* Fix: User views mail and wants to move it...
92 mjansen: The mail system needs a revision :-)
93 */
94 $cmd = $this->ctrl->getCmd();
95 if($cmd == 'changeFolder' &&
96 is_numeric($_POST['selected_cmd']) &&
97 $_GET["mail_id"])
98 {
99 $this->current_selected_cmd = (int)$_POST['selected_cmd'];
100 }
101
102 $forward_class = $this->ctrl->getNextClass($this);
103 switch($forward_class)
104 {
105 case 'ilmailaddressbookgui':
106 include_once 'Services/Contact/classes/class.ilMailAddressbookGUI.php';
107
108 $this->ctrl->forwardCommand(new ilMailAddressbookGUI());
109 break;
110
111 case 'ilmailoptionsgui':
112 include_once 'Services/Mail/classes/class.ilMailOptionsGUI.php';
113
114 $this->ctrl->forwardCommand(new ilMailOptionsGUI());
115 break;
116
117 case 'ilpublicuserprofilegui':
118 include_once("Services/User/classes/class.ilPublicUserProfileGUI.php");
119 $this->tpl->setTitle($this->lng->txt("mail"));
120 $this->ctrl->saveParameter($this, "mail_id");
121 $profile_gui = new ilPublicUserProfileGUI($_GET["user"]);
122 $profile_gui->setBackUrl($this->ctrl->getLinkTarget($this, "showMail"));
123 $ret = $this->ctrl->forwardCommand($profile_gui);
124 if ($ret != "")
125 {
126 $this->tpl->setContent($ret);
127 $this->tpl->show();
128 }
129 break;
130
131 default:
132 if (!($cmd = $this->ctrl->getCmd()))
133 {
134 $cmd = "showFolder";
135 }
136 $this->$cmd();
137 break;
138 }
139 return true;
140 }
GUI class for public user profile presentation.
$cmd
Definition: sahs_server.php:35

References $_GET, $_POST, $cmd, and $ret.

◆ performAddSubFolder()

ilMailFolderGUI::performAddSubFolder ( )

Definition at line 441 of file class.ilMailFolderGUI.php.

442 {
443 if (isset($_POST["subfolder_title"]) && 'tree' == ilSession::get(ilMailGUI::VIEWMODE_SESSION_KEY)) $_SESSION["subfolder_title"] = ilUtil::stripSlashes($_POST['subfolder_title']);
444
445 if (empty($_POST['subfolder_title']))
446 {
447 ilUtil::sendInfo($this->lng->txt("mail_insert_folder_name"));
448 return $this->addSubFolder();
449 }
450 else if ($mobj_id = $this->mbox->addFolder($_GET["mobj_id"], ilUtil::stripSlashes($_POST["subfolder_title"])))
451 {
452 unset($_SESSION["subfolder_title"]);
453 ilUtil::sendInfo($this->lng->txt("mail_folder_created"), true);
454
455 $this->ctrl->setParameterByClass("ilMailGUI", 'mobj_id', $mobj_id);
456 $this->ctrl->redirectByClass("ilMailGUI");
457 }
458 else
459 {
460 ilUtil::sendFailure($this->lng->txt("mail_folder_exists"));
461 return $this->addSubFolder();
462 }
463 }
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled

References $_GET, $_POST, $_SESSION, ilSession\get(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilUtil\stripSlashes(), and ilMailGUI\VIEWMODE_SESSION_KEY.

+ Here is the call graph for this function:

◆ performDeleteSubFolder()

ilMailFolderGUI::performDeleteSubFolder ( )

Definition at line 423 of file class.ilMailFolderGUI.php.

424 {
425 $new_parent = $this->mbox->getParentFolderId($_GET["mobj_id"]);
426
427 if ($this->mbox->deleteFolder($_GET["mobj_id"]))
428 {
429 ilUtil::sendInfo($this->lng->txt("mail_folder_deleted"),true);
430
431 $this->ctrl->setParameterByClass("ilMailGUI", "mobj_id", $new_parent);
432 $this->ctrl->redirectByClass("ilMailGUI");
433 }
434 else
435 {
436 ilUtil::sendFailure($this->lng->txt("mail_error_delete"));
437 return $this->showFolder();
438 }
439 }

References $_GET, ilUtil\sendFailure(), and ilUtil\sendInfo().

+ Here is the call graph for this function:

◆ performEmptyTrash()

ilMailFolderGUI::performEmptyTrash ( )

empty Trash and return to folder

Definition at line 182 of file class.ilMailFolderGUI.php.

183 {
184 $this->umail->deleteMailsOfFolder($_GET['mobj_id']);
185 ilUtil::sendInfo($this->lng->txt('mail_deleted'));
186 $this->showFolder();
187 }

References $_GET, and ilUtil\sendInfo().

+ Here is the call graph for this function:

◆ performRenameSubFolder()

ilMailFolderGUI::performRenameSubFolder ( )

Definition at line 530 of file class.ilMailFolderGUI.php.

531 {
532 if (isset($_POST["subfolder_title"]) && 'tree' == ilSession::get(ilMailGUI::VIEWMODE_SESSION_KEY)) $_SESSION["subfolder_title"] = $_POST['subfolder_title'];
533
534 $tmp_data = $this->mbox->getFolderData($_GET["mobj_id"]);
535 if ($tmp_data["title"] != $_POST["subfolder_title"])
536 {
537 if ($_POST["subfolder_title"] == "")
538 {
539 ilUtil::sendInfo($this->lng->txt("mail_insert_folder_name"));
540 return $this->renameSubFolder();
541 }
542 else
543 {
544 if ($this->mbox->renameFolder($_GET["mobj_id"], ilUtil::stripSlashes($_POST["subfolder_title"])))
545 {
546 ilUtil::sendInfo($this->lng->txt("mail_folder_name_changed"), true);
547 unset($_SESSION["subfolder_title"]);
548 $this->ctrl->redirectByClass("ilMailGUI");
549 }
550 else
551 {
552 ilUtil::sendFailure($this->lng->txt("mail_folder_exists"));
553 return $this->renameSubFolder();
554 }
555 }
556 }
557 return $this->showFolder();
558 }

References $_GET, $_POST, $_SESSION, ilSession\get(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilUtil\stripSlashes(), and ilMailGUI\VIEWMODE_SESSION_KEY.

+ Here is the call graph for this function:

◆ resetFilter()

ilMailFolderGUI::resetFilter ( )

Definition at line 1082 of file class.ilMailFolderGUI.php.

1083 {
1084 $sentFolderId = $this->mbox->getSentFolder();
1085 $draftsFolderId = $this->mbox->getDraftsFolder();
1086
1087 $isTrashFolder = $_GET['mobj_id'] == $this->mbox->getTrashFolder();
1088 $isSentFolder = $_GET['mobj_id'] == $sentFolderId;
1089 $isDraftFolder = $_GET['mobj_id'] == $draftsFolderId;
1090
1091 $table = new ilMailFolderTableGUI($this, (int)$_GET['mobj_id'], 'showFolder');
1092 $table->isSentFolder($isSentFolder)
1093 ->isDraftFolder($isDraftFolder)
1094 ->isTrashFolder($isTrashFolder)
1095 ->initFilter();
1096 $table->resetOffset();
1097 $table->resetFilter();
1098
1099 $this->showFolder();
1100 }

References $_GET.

◆ showUser()

ilMailFolderGUI::showUser ( )

Definition at line 204 of file class.ilMailFolderGUI.php.

205 {
206 global $ilCtrl, $ilToolbar;
207
208 $this->ctrl->setParameter($this, "mail_id", $_GET["mail_id"]);
209
210 $this->tpl->setTitle($this->lng->txt("mail"));
211 //$ilToolbar->addButton($this->lng->txt("back"), $this->ctrl->getLinkTarget($this, "showMail"));
212
213 $this->tpl->setVariable("TBL_TITLE", $this->lng->txt("profile_of")." ".
215 $this->tpl->setVariable("TBL_TITLE_IMG",ilUtil::getImagePath("icon_usr.svg"));
216 $this->tpl->setVariable("TBL_TITLE_IMG_ALT", $this->lng->txt("public_profile"));
217
218 include_once './Services/User/classes/class.ilPublicUserProfileGUI.php';
219 $profile_gui = new ilPublicUserProfileGUI($_GET["user"]);
220 $profile_gui->setBackUrl($this->ctrl->getLinkTarget($this, "showMail"));
221 $this->tpl->setContent($ilCtrl->getHTML($profile_gui));
222 $this->tpl->show();
223
224 return true;
225 }
_lookupLogin($a_user_id)
lookup login
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)

References $_GET, $ilCtrl, ilObjUser\_lookupLogin(), and ilUtil\getImagePath().

+ Here is the call graph for this function:

Field Documentation

◆ $ctrl

ilMailFolderGUI::$ctrl = null
private

Definition at line 29 of file class.ilMailFolderGUI.php.

◆ $current_select_cmd

ilMailFolderGUI::$current_select_cmd
private

Definition at line 25 of file class.ilMailFolderGUI.php.

◆ $current_selected_cmd

ilMailFolderGUI::$current_selected_cmd
private

Definition at line 26 of file class.ilMailFolderGUI.php.

◆ $errorDelete

ilMailFolderGUI::$errorDelete = false
private

Definition at line 35 of file class.ilMailFolderGUI.php.

◆ $lng

ilMailFolderGUI::$lng = null
private

Definition at line 30 of file class.ilMailFolderGUI.php.

Referenced by __construct(), and add().

◆ $mbox

ilMailFolderGUI::$mbox = null

Definition at line 33 of file class.ilMailFolderGUI.php.

◆ $tpl

ilMailFolderGUI::$tpl = null
private

Definition at line 28 of file class.ilMailFolderGUI.php.

Referenced by __construct().

◆ $umail

ilMailFolderGUI::$umail = null

Definition at line 32 of file class.ilMailFolderGUI.php.


The documentation for this class was generated from the following file: