ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilMailSearchGUI Class Reference
+ Collaboration diagram for ilMailSearchGUI:

Public Member Functions

 __construct ($wsp_access_handler=null, $wsp_node_id=null)
 
 executeCommand ()
 
 adopt ()
 
 cancel ()
 
 search ()
 
 lookupRecipientAsync ()
 
 showResults ()
 

Protected Member Functions

 initSearchForm ()
 
 addPermission ($a_obj_ids)
 

Protected Attributes

 $rbacreview
 
 $object_data_cache
 

Private Member Functions

 saveMailData ()
 

Private Attributes

 $tpl
 
 $ctrl
 
 $lng
 
 $umail = null
 
 $errorDelete = false
 

Detailed Description

Author
Jens Conze
Version
$Id$

Definition at line 38 of file class.ilMailSearchGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilMailSearchGUI::__construct (   $wsp_access_handler = null,
  $wsp_node_id = null 
)

Definition at line 69 of file class.ilMailSearchGUI.php.

References $DIC.

70  {
71  global $DIC;
72 
73  $this->tpl = $DIC['tpl'];
74  $this->ctrl = $DIC['ilCtrl'];
75  $this->lng = $DIC['lng'];
76  $this->rbacreview = $DIC['rbacreview'];
77  $this->object_data_cache = $DIC['ilObjDataCache'];
78 
79  // personal workspace
80  $this->wsp_access_handler = $wsp_access_handler;
81  $this->wsp_node_id = $wsp_node_id;
82 
83  $this->ctrl->saveParameter($this, "mobj_id");
84  $this->ctrl->saveParameter($this, "ref");
85 
86  $this->umail = new ilFormatMail($DIC->user()->getId());
87  }
Class UserMail this class handles user mails.
$DIC
Definition: xapitoken.php:46

Member Function Documentation

◆ addPermission()

ilMailSearchGUI::addPermission (   $a_obj_ids)
protected

Definition at line 557 of file class.ilMailSearchGUI.php.

Referenced by adopt().

558  {
559  if (!is_array($a_obj_ids)) {
560  $a_obj_ids = array($a_obj_ids);
561  }
562 
563  $existing = $this->wsp_access_handler->getPermissions($this->wsp_node_id);
564  $added = false;
565  foreach ($a_obj_ids as $object_id) {
566  if (!in_array($object_id, $existing)) {
567  $added = $this->wsp_access_handler->addPermission($this->wsp_node_id, $object_id);
568  }
569  }
570 
571  if ($added) {
572  ilUtil::sendSuccess($this->lng->txt("wsp_share_success"), true);
573  }
574  }
+ Here is the caller graph for this function:

◆ adopt()

ilMailSearchGUI::adopt ( )

Definition at line 104 of file class.ilMailSearchGUI.php.

References $_GET, $_POST, $_SESSION, addPermission(), and saveMailData().

105  {
106  // necessary because of select all feature of ilTable2GUI
107  $recipients = array();
108  $recipients = array_merge($recipients, (array) $_POST['search_name_to_addr']);
109  $recipients = array_merge($recipients, (array) $_POST['search_name_to_usr']);
110  $recipients = array_merge($recipients, (array) $_POST['search_name_to_grp']);
111 
112  $recipients = array_unique($recipients);
113 
114  $_SESSION["mail_search_results_to"] = $recipients;
115  $_SESSION["mail_search_results_cc"] = $_POST["search_name_cc"];
116  $_SESSION["mail_search_results_bcc"] = $_POST["search_name_bcc"];
117 
118  if ($_GET["ref"] != "wsp") {
119  $this->saveMailData();
120  } else {
121  $this->addPermission($recipients);
122  }
123 
124  $this->ctrl->returnToParent($this);
125  }
$_SESSION["AccountId"]
$_GET["client_id"]
$_POST["username"]
+ Here is the call graph for this function:

◆ cancel()

ilMailSearchGUI::cancel ( )

Definition at line 146 of file class.ilMailSearchGUI.php.

147  {
148  $this->ctrl->returnToParent($this);
149  }

◆ executeCommand()

ilMailSearchGUI::executeCommand ( )

Definition at line 89 of file class.ilMailSearchGUI.php.

90  {
91  $forward_class = $this->ctrl->getNextClass($this);
92  switch ($forward_class) {
93  default:
94  if (!($cmd = $this->ctrl->getCmd())) {
95  $cmd = "showResults";
96  }
97 
98  $this->$cmd();
99  break;
100  }
101  return true;
102  }

◆ initSearchForm()

ilMailSearchGUI::initSearchForm ( )
protected

Definition at line 167 of file class.ilMailSearchGUI.php.

References $_GET, $_SESSION, ilUtil\prepareFormOutput(), and saveMailData().

Referenced by showResults().

168  {
169  if ($_GET["ref"] != "wsp") {
170  $this->saveMailData();
171  $title = $this->lng->txt('search_recipients');
172  } else {
173  $this->lng->loadLanguageModule("wsp");
174  $title = $this->lng->txt("wsp_share_search_users");
175  }
176 
177  // searchform
178  include_once 'Services/Form/classes/class.ilPropertyFormGUI.php';
179  $form = new ilPropertyFormGUI();
180  $form->setTitle($title);
181  $form->setId('search_rcp');
182  $form->setFormAction($this->ctrl->getFormAction($this, 'search'));
183 
184  $inp = new ilTextInputGUI($this->lng->txt("search_for"), 'search');
185  $inp->setSize(30);
186  $dsDataLink = $this->ctrl->getLinkTarget($this, 'lookupRecipientAsync', '', true, false);
187  $inp->setDataSource($dsDataLink);
188 
189  if (
190  isset($_SESSION["mail_search_search"]) &&
191  is_string($_SESSION["mail_search_search"]) &&
192  strlen(trim($_SESSION["mail_search_search"])) > 0
193  ) {
194  $inp->setValue(ilUtil::prepareFormOutput(trim($_SESSION["mail_search_search"]), true));
195  }
196  $form->addItem($inp);
197 
198  $form->addCommandButton('search', $this->lng->txt("search"));
199  $form->addCommandButton('cancel', $this->lng->txt("cancel"));
200 
201  return $form;
202  }
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
$_SESSION["AccountId"]
This class represents a property form user interface.
$_GET["client_id"]
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lookupRecipientAsync()

ilMailSearchGUI::lookupRecipientAsync ( )

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

References $_GET, $_POST, $result, exit, ilUtil\stripSlashes(), and ilStr\strLen().

205  {
206  include_once 'Services/JSON/classes/class.ilJsonUtil.php';
207  include_once 'Services/Mail/classes/class.ilMailForm.php';
208  include_once 'Services/Utilities/classes/class.ilStr.php';
209 
210  $search = '';
211  if (isset($_GET["term"]) && is_string($_GET["term"])) {
212  $search = $_GET["term"];
213  }
214  if (isset($_POST["term"]) && is_string($_POST["term"])) {
215  $search = $_POST["term"];
216  }
217 
218  $search = trim($search);
219 
220  $result = array();
221  if (\ilStr::strLen($search) < 3) {
222  echo json_encode($result);
223  exit;
224  }
225 
226  // #14768
227  $quoted = ilUtil::stripSlashes($search);
228  $quoted = str_replace('%', '\%', $quoted);
229  $quoted = str_replace('_', '\_', $quoted);
230 
231  $search_recipients = ($_GET["ref"] != "wsp");
232 
233  $mailFormObj = new ilMailForm;
234  $result = $mailFormObj->getRecipientAsync("%" . $quoted . "%", ilUtil::stripSlashes($search), $search_recipients);
235 
236  echo json_encode($result);
237  exit;
238  }
exit
Definition: login.php:29
static strLen($a_string)
Definition: class.ilStr.php:78
$result
$_GET["client_id"]
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
$_POST["username"]
+ Here is the call graph for this function:

◆ saveMailData()

ilMailSearchGUI::saveMailData ( )
private

Definition at line 127 of file class.ilMailSearchGUI.php.

Referenced by adopt(), and initSearchForm().

128  {
129  $mail_data = $this->umail->getSavedData();
130 
131  $this->umail->savePostData(
132  $mail_data["user_id"],
133  $mail_data["attachments"],
134  $mail_data["rcp_to"],
135  $mail_data["rcp_cc"],
136  $mail_data["rcp_bcc"],
137  $mail_data["m_email"],
138  $mail_data["m_subject"],
139  $mail_data["m_message"],
140  $mail_data["use_placeholders"],
141  $mail_data['tpl_ctx_id'],
142  $mail_data['tpl_ctx_params']
143  );
144  }
+ Here is the caller graph for this function:

◆ search()

ilMailSearchGUI::search ( )

Definition at line 151 of file class.ilMailSearchGUI.php.

References $_POST, $_SESSION, ilUtil\sendInfo(), and showResults().

152  {
153  $_SESSION["mail_search_search"] = (string) $_POST["search"];
154 
155  if (strlen(trim($_SESSION["mail_search_search"])) == 0) {
156  ilUtil::sendInfo($this->lng->txt("mail_insert_query"));
157  } elseif (strlen(trim($_SESSION["mail_search_search"])) < 3) {
158  $this->lng->loadLanguageModule('search');
159  ilUtil::sendInfo($this->lng->txt('search_minimum_three'));
160  }
161 
162  $this->showResults();
163 
164  return true;
165  }
$_SESSION["AccountId"]
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
$_POST["username"]
+ Here is the call graph for this function:

◆ showResults()

ilMailSearchGUI::showResults ( )

Definition at line 241 of file class.ilMailSearchGUI.php.

References $_GET, $_SESSION, $login, $name, $result, ilObjectSearchFactory\_getObjectSearchInstance(), ilObjectSearchFactory\_getUserSearchInstance(), ilObjUser\_lookupEmail(), ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilObjUser\_lookupPref(), ilUtil\formCheckbox(), ilUtil\getImagePath(), ilUserFilter\getInstance(), ilBuddyList\getInstanceByGlobalUser(), ilParticipants\hasParticipantListAccess(), initSearchForm(), QP_COMBINATION_AND, and ilUtil\sendInfo().

Referenced by search().

242  {
243  $form = $this->initSearchForm();
244 
245  $this->tpl->addBlockFile("ADM_CONTENT", "adm_content", "tpl.mail_search.html", "Services/Contact");
246  $this->tpl->setVariable("ACTION", $this->ctrl->getFormAction($this));
247  $this->tpl->setTitle($this->lng->txt("mail"));
248  $this->tpl->setVariable('SEARCHFORM', $form->getHtml());
249 
250  // #14109
251  if (
252  !isset($_SESSION["mail_search_search"]) ||
253  !is_string($_SESSION["mail_search_search"]) ||
254  strlen(trim($_SESSION["mail_search_search"])) < 3
255  ) {
256  if ($_GET["ref"] != "wsp") {
257  $this->tpl->printToStdout();
258  }
259  return;
260  }
261 
262  require_once 'Services/Contact/BuddySystem/classes/class.ilBuddyList.php';
263  $relations = ilBuddyList::getInstanceByGlobalUser()->getLinkedRelations();
264  if (count($relations)) {
265  $contacts_search_result = new ilSearchResult();
266 
267  $query_parser = new ilQueryParser(addcslashes($_SESSION['mail_search_search'], '%_'));
268  $query_parser->setCombination(QP_COMBINATION_AND);
269  $query_parser->setMinWordLength(3);
270  $query_parser->parse();
271 
272  $user_search = ilObjectSearchFactory::_getUserSearchInstance($query_parser);
273  $user_search->enableActiveCheck(true);
274  $user_search->setFields(array('login'));
275  $result_obj = $user_search->performSearch();
276  $contacts_search_result->mergeEntries($result_obj);
277 
278  $user_search->setFields(array('firstname'));
279  $result_obj = $user_search->performSearch();
280  $contacts_search_result->mergeEntries($result_obj);
281 
282  $user_search->setFields(array('lastname'));
283  $result_obj = $user_search->performSearch();
284  $contacts_search_result->mergeEntries($result_obj);
285 
286  $contacts_search_result->setMaxHits(100000);
287  $contacts_search_result->preventOverwritingMaxhits(true);
288  $contacts_search_result->filter(ROOT_FOLDER_ID, true);
289 
290  // Filter users (depends on setting in user accounts)
291  include_once 'Services/User/classes/class.ilUserFilter.php';
292  $users = ilUserFilter::getInstance()->filter($contacts_search_result->getResultIds());
293  $users = array_intersect($users, $relations->getKeys());
294 
295  $tbl_contacts = new ilTable2GUI($this);
296  $tbl_contacts->setTitle($this->lng->txt('mail_addressbook'));
297  $tbl_contacts->setRowTemplate('tpl.mail_search_addr_row.html', 'Services/Contact');
298 
299  $has_mail_addr = false;
300  $result = array();
301  $counter = 0;
302  foreach ($users as $user) {
304 
305  if ($_GET['ref'] == 'wsp') {
306  $result[$counter]['check'] = ilUtil::formCheckbox(0, 'search_name_to_addr[]', $user);
307  } else {
308  $result[$counter]['check'] =
309  ilUtil::formCheckbox(0, 'search_name_to_addr[]', $login) .
310  ilUtil::formCheckbox(0, 'search_name_cc[]', $login) .
311  ilUtil::formCheckbox(0, 'search_name_bcc[]', $login);
312  }
313 
314  $result[$counter]['login'] = $login;
315  if (ilObjUser::_lookupPref($user, 'public_email') == 'y') {
316  $has_mail_addr = true;
317  $result[$counter]['email'] = ilObjUser::_lookupEmail($user, 'email');
318  }
319 
320  if (in_array(ilObjUser::_lookupPref($user, 'public_profile'), array('y', "g"))) {
321  $name = ilObjUser::_lookupName($user);
322  $result[$counter]['firstname'] = $name['firstname'];
323  $result[$counter]['lastname'] = $name['lastname'];
324  } else {
325  $result[$counter]['firstname'] = '';
326  $result[$counter]['lastname'] = '';
327  }
328 
329  ++$counter;
330  }
331 
332  if ($_GET['ref'] == 'wsp') {
333  $tbl_contacts->addColumn("", "", "1%", true);
334  } else {
335  $tbl_contacts->addColumn($this->lng->txt('mail_to') . '/' . $this->lng->txt('cc') . '/' . $this->lng->txt('bc'), 'check', '10%');
336  }
337  $tbl_contacts->addColumn($this->lng->txt('login'), 'login', '15%');
338  $tbl_contacts->addColumn($this->lng->txt('firstname'), 'firstname', '15%');
339  $tbl_contacts->addColumn($this->lng->txt('lastname'), 'lastname', '15%');
340  if ($has_mail_addr) {
341  foreach ($result as $key => $val) {
342  if ($val['email'] == '') {
343  $result[$key]['email'] = '&nbsp;';
344  }
345  }
346 
347  $tbl_contacts->addColumn($this->lng->txt('email'), 'email', "15%");
348  }
349  $tbl_contacts->setData($result);
350 
351  $tbl_contacts->setDefaultOrderField('login');
352  $tbl_contacts->setPrefix('addr_');
353  $tbl_contacts->enable('select_all');
354  $tbl_contacts->setSelectAllCheckbox('search_name_to_addr');
355  $tbl_contacts->setFormName('recipients');
356 
357  $this->tpl->setVariable('TABLE_ADDR', $tbl_contacts->getHTML());
358  }
359 
360  $all_results = new ilSearchResult();
361 
362  $query_parser = new ilQueryParser(addcslashes($_SESSION['mail_search_search'], '%_'));
363  $query_parser->setCombination(QP_COMBINATION_AND);
364  $query_parser->setMinWordLength(3);
365  $query_parser->parse();
366 
367  $user_search = ilObjectSearchFactory::_getUserSearchInstance($query_parser);
368  $user_search->enableActiveCheck(true);
369  $user_search->setFields(array('login'));
370  $result_obj = $user_search->performSearch();
371  $all_results->mergeEntries($result_obj);
372 
373  $user_search->setFields(array('firstname'));
374  $result_obj = $user_search->performSearch();
375  $all_results->mergeEntries($result_obj);
376 
377  $user_search->setFields(array('lastname'));
378  $result_obj = $user_search->performSearch();
379  $all_results->mergeEntries($result_obj);
380 
381  $all_results->setMaxHits(100000);
382  $all_results->preventOverwritingMaxhits(true);
383  $all_results->filter(ROOT_FOLDER_ID, true);
384 
385  // Filter users (depends on setting in user accounts)
386  include_once 'Services/User/classes/class.ilUserFilter.php';
387  $users = ilUserFilter::getInstance()->filter($all_results->getResultIds());
388  if (count($users)) {
389  $tbl_users = new ilTable2GUI($this);
390  $tbl_users->setTitle($this->lng->txt('system') . ': ' . $this->lng->txt('persons'));
391  $tbl_users->setRowTemplate('tpl.mail_search_users_row.html', 'Services/Contact');
392 
393  $result = array();
394  $counter = 0;
395  foreach ($users as $user) {
397 
398  if ($_GET["ref"] != "wsp") {
399  $result[$counter]['check'] = ilUtil::formCheckbox(0, 'search_name_to_usr[]', $login) .
400  ilUtil::formCheckbox(0, 'search_name_cc[]', $login) .
401  ilUtil::formCheckbox(0, 'search_name_bcc[]', $login);
402  } else {
403  $result[$counter]['check'] = ilUtil::formCheckbox(0, 'search_name_to_usr[]', $user);
404  }
405  $result[$counter]['login'] = $login;
406 
407  if (in_array(ilObjUser::_lookupPref($user, 'public_profile'), array('y', "g"))) {
408  $name = ilObjUser::_lookupName($user);
409  $result[$counter]['firstname'] = $name['firstname'];
410  $result[$counter]['lastname'] = $name['lastname'];
411  } else {
412  $result[$counter]['firstname'] = '';
413  $result[$counter]['lastname'] = '';
414  }
415 
416  if (ilObjUser::_lookupPref($user, 'public_email') == 'y') {
417  $has_mail_usr = true;
418  $result[$counter]['email'] = ilObjUser::_lookupEmail($user);
419  }
420 
421  ++$counter;
422  }
423 
424  if ($_GET["ref"] != "wsp") {
425  $tbl_users->addColumn($this->lng->txt('mail_to') . '/' . $this->lng->txt('cc') . '/' . $this->lng->txt('bc'), 'check', '10%');
426  } else {
427  $tbl_users->addColumn("", "", "1%");
428  }
429  $tbl_users->addColumn($this->lng->txt('login'), 'login', '15%');
430  $tbl_users->addColumn($this->lng->txt('firstname'), 'firstname', '15%');
431  $tbl_users->addColumn($this->lng->txt('lastname'), 'lastname', '15%');
432  if ($has_mail_usr == true) {
433  foreach ($result as $key => $val) {
434  if ($val['email'] == '') {
435  $result[$key]['email'] = '&nbsp;';
436  }
437  }
438 
439  $tbl_users->addColumn($this->lng->txt('email'), 'email', '15%');
440  }
441  $tbl_users->setData($result);
442 
443  $tbl_users->setDefaultOrderField('login');
444  $tbl_users->setPrefix('usr_');
445  $tbl_users->enable('select_all');
446  $tbl_users->setSelectAllCheckbox('search_name_to_usr');
447  $tbl_users->setFormName('recipients');
448 
449  $this->tpl->setVariable('TABLE_USERS', $tbl_users->getHTML());
450  }
451 
452  include_once 'Services/Search/classes/class.ilQueryParser.php';
453  include_once 'Services/Search/classes/class.ilObjectSearchFactory.php';
454  include_once 'Services/Search/classes/class.ilSearchResult.php';
455  include_once 'Services/Membership/classes/class.ilParticipants.php';
456 
457  $group_results = new ilSearchResult();
458 
459  $query_parser = new ilQueryParser(addcslashes($_SESSION['mail_search_search'], '%_'));
460  $query_parser->setCombination(QP_COMBINATION_AND);
461  $query_parser->setMinWordLength(3);
462  $query_parser->parse();
463 
464  $search = ilObjectSearchFactory::_getObjectSearchInstance($query_parser);
465  $search->setFilter(array('grp'));
466  $result = $search->performSearch();
467  $group_results->mergeEntries($result);
468  $group_results->setMaxHits(PHP_INT_MAX);
469  $group_results->preventOverwritingMaxhits(true);
470  $group_results->setRequiredPermission('read');
471  $group_results->filter(ROOT_FOLDER_ID, true);
472 
473  $visible_groups = array();
474  if ($group_results->getResults()) {
475  $tbl_grp = new ilTable2GUI($this);
476  $tbl_grp->setTitle($this->lng->txt('system') . ': ' . $this->lng->txt('groups'));
477  $tbl_grp->setRowTemplate('tpl.mail_search_groups_row.html', 'Services/Contact');
478 
479  $result = array();
480  $counter = 0;
481 
482  $this->object_data_cache->preloadReferenceCache(array_keys($group_results->getResults()));
483 
484  $groups = $group_results->getResults();
485  foreach ($groups as $grp) {
486  if (!ilParticipants::hasParticipantListAccess($grp['obj_id'])) {
487  continue;
488  }
489 
490  if ($_GET["ref"] != "wsp") {
491  $members = array();
492  $roles = $this->rbacreview->getAssignableChildRoles($grp['ref_id']);
493  foreach ($roles as $role) {
494  if (substr($role['title'], 0, 14) == 'il_grp_member_' ||
495  substr($role['title'], 0, 13) == 'il_grp_admin_'
496  ) {
497  // FIX for Mantis: 7523
498  array_push($members, '#' . $role['title']);
499  }
500  }
501  $str_members = implode(',', $members);
502 
503  $result[$counter]['check'] =
504  ilUtil::formCheckbox(0, 'search_name_to_grp[]', $str_members) .
505  ilUtil::formCheckbox(0, 'search_name_cc[]', $str_members) .
506  ilUtil::formCheckbox(0, 'search_name_bcc[]', $str_members);
507  } else {
508  $result[$counter]['check'] = ilUtil::formCheckbox(0, 'search_name_to_grp[]', $grp['obj_id']);
509  }
510  $result[$counter]['title'] = $this->object_data_cache->lookupTitle($grp['obj_id']);
511  $result[$counter]['description'] = $this->object_data_cache->lookupDescription($grp['obj_id']);
512 
513  ++$counter;
514  $visible_groups[] = $grp;
515  }
516 
517  if ($visible_groups) {
518  $tbl_grp->setData($result);
519 
520  if ($_GET["ref"] != "wsp") {
521  $tbl_grp->addColumn($this->lng->txt('mail_to') . '/' . $this->lng->txt('cc') . '/' . $this->lng->txt('bc'), 'check', '10%');
522  } else {
523  $tbl_grp->addColumn("", "", "1%");
524  }
525  $tbl_grp->addColumn($this->lng->txt('title'), 'title', '15%');
526  $tbl_grp->addColumn($this->lng->txt('description'), 'description', '15%');
527 
528  $tbl_grp->setDefaultOrderField('title');
529  $tbl_grp->setPrefix('grp_');
530  $tbl_grp->enable('select_all');
531  $tbl_grp->setSelectAllCheckbox('search_name_to_grp');
532  $tbl_grp->setFormName('recipients');
533 
534  $this->tpl->setVariable('TABLE_GRP', $tbl_grp->getHTML());
535  }
536  }
537 
538  if (count($users) || count($visible_groups) || count($relations)) {
539  $this->tpl->setVariable("IMG_ARROW", ilUtil::getImagePath("arrow_downright.svg"));
540  $this->tpl->setVariable("ALT_ARROW", '');
541 
542  if ($_GET["ref"] != "wsp") {
543  $this->tpl->setVariable('BUTTON_ADOPT', $this->lng->txt('adopt'));
544  } else {
545  $this->tpl->setVariable('BUTTON_ADOPT', $this->lng->txt('wsp_share_with_users'));
546  }
547  } else {
548  $this->lng->loadLanguageModule('search');
549  ilUtil::sendInfo($this->lng->txt('search_no_match'));
550  }
551 
552  if ($_GET["ref"] != "wsp") {
553  $this->tpl->printToStdout();
554  }
555  }
static _lookupLogin($a_user_id)
lookup login
static _lookupName($a_user_id)
lookup user name
$login
Definition: cron.php:13
static getInstanceByGlobalUser()
$_SESSION["AccountId"]
$result
$_GET["client_id"]
static getInstance()
Singelton get instance.
static hasParticipantListAccess($a_obj_id, $a_usr_id=null)
Check if (current) user has access to the participant list.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
if($format !==null) $name
Definition: metadata.php:230
static _getUserSearchInstance($query_parser)
get reference of ilLikeUserSearch
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
static _lookupEmail($a_user_id)
Lookup email.
static _lookupPref($a_usr_id, $a_keyword)
static _getObjectSearchInstance($query_parser)
get reference of ilFulltext/LikeObjectSearch.
const QP_COMBINATION_AND
static formCheckbox($checked, $varname, $value, $disabled=false)
??? public
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $ctrl

ilMailSearchGUI::$ctrl
private

Definition at line 48 of file class.ilMailSearchGUI.php.

◆ $errorDelete

ilMailSearchGUI::$errorDelete = false
private

Definition at line 67 of file class.ilMailSearchGUI.php.

◆ $lng

ilMailSearchGUI::$lng
private

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

◆ $object_data_cache

ilMailSearchGUI::$object_data_cache
protected

Definition at line 58 of file class.ilMailSearchGUI.php.

◆ $rbacreview

ilMailSearchGUI::$rbacreview
protected

Definition at line 53 of file class.ilMailSearchGUI.php.

◆ $tpl

ilMailSearchGUI::$tpl
private

Definition at line 43 of file class.ilMailSearchGUI.php.

◆ $umail

ilMailSearchGUI::$umail = null
private

Definition at line 65 of file class.ilMailSearchGUI.php.


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