ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilContactGUI Class Reference
+ Collaboration diagram for ilContactGUI:

Public Member Functions

 __construct ()
 
 activateTab ($a_id)
 

Data Fields

const CONTACTS_VIEW_GALLERY = 1
 
const CONTACTS_VIEW_TABLE = 2
 
 $ctrl = null
 

Private Attributes

 $tpl = null
 
 $lng = null
 
 $tabs_gui = null
 
 $umail
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilContactGUI::__construct ( )

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

References $_GET, $cmd, $ilCtrl, $ilErr, $ilUser, $lng, $tpl, activateTab(), ilSubmitButton\getInstance(), ilBuddySystem\getInstance(), and ilUtil\stripSlashes().

31  {
32  global $tpl, $ilCtrl, $lng, $ilUser, $ilTabs;
33 
34  $this->tpl = $tpl;
35  $this->ctrl = $ilCtrl;
36  $this->lng = $lng;
37  $this->tabs_gui = $ilTabs;
38 
39  $this->ctrl->saveParameter($this, "mobj_id");
40 
41  $this->umail = new ilFormatMail($ilUser->getId());
42  $this->lng->loadLanguageModule('buddysystem');
43  }
global $ilCtrl
Definition: ilias.php:18
Class UserMail this class handles user mails.
global $ilUser
Definition: imgupload.php:15
+ Here is the call graph for this function:

Member Function Documentation

◆ activateTab()

ilContactGUI::activateTab (   $a_id)

Definition at line 209 of file class.ilContactGUI.php.

References $_POST, $ilCtrl, $ilErr, $ilUser, $lng, $options, $ref_id, $tpl, $url, ilLink\_getStaticLink(), ilObjUser\_lookupLogin(), ilChatroom\byRoomId(), ilChatroom\checkPermissionsOfUser(), ilBuddySystem\getInstance(), ilMailGlobalServices\getMailObjectRefId(), ilChatroom\lookupPrivateRoomTitle(), ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilUtil\sendSuccess(), and ilSelectInputGUI\setOptions().

Referenced by __construct().

210  {
211  if($this->has_sub_tabs)
212  {
213  $this->tabs_gui->activateSubTab($a_id);
214  }
215  else
216  {
217  $this->tabs_gui->activateTab($a_id);
218  }
219  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $ctrl

ilContactGUI::$ctrl = null

Definition at line 21 of file class.ilContactGUI.php.

◆ $lng

ilContactGUI::$lng = null
private

Definition at line 22 of file class.ilContactGUI.php.

Referenced by __construct(), and activateTab().

◆ $tabs_gui

ilContactGUI::$tabs_gui = null
private

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

◆ $tpl

ilContactGUI::$tpl = null
private

Definition at line 20 of file class.ilContactGUI.php.

Referenced by __construct(), and activateTab().

◆ $umail

ilContactGUI::$umail
private

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

◆ CONTACTS_VIEW_GALLERY

const ilContactGUI::CONTACTS_VIEW_GALLERY = 1

Definition at line 17 of file class.ilContactGUI.php.

◆ CONTACTS_VIEW_TABLE

const ilContactGUI::CONTACTS_VIEW_TABLE = 2

Definition at line 18 of file class.ilContactGUI.php.


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