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.

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 }
Class UserMail this class handles user mails.
global $ilCtrl
Definition: ilias.php:18
global $ilUser
Definition: imgupload.php:15

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

Member Function Documentation

◆ activateTab()

ilContactGUI::activateTab (   $a_id)

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

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 }

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().

◆ $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().

◆ $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: