ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilChatUser Class Reference

Class ilChatUser. More...

+ Collaboration diagram for ilChatUser:

Public Member Functions

 __construct ($a_id=0)
 Constructor public.
 setUserId ($a_id)
 getUserId ()
 getLogin ()

Data Fields

 $ilias
 $lng
 $user
 $u_id

Private Member Functions

 initUserObject ()

Detailed Description

Class ilChatUser.

Author
Stefan Meyer
Version
Id:
class.ilChatUser.php 19587 2009-04-09 15:08:42Z jposselt

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

Constructor & Destructor Documentation

ilChatUser::__construct (   $a_id = 0)

Constructor public.

Parameters
integerreference_id or object_id
booleantreat the id as reference_id (true) or object_id (false)

Definition at line 45 of file class.ilChatUser.php.

References $ilias, and $lng.

{
global $ilias,$lng;
$this->ilias =& $ilias;
$this->lng =& $lng;
$this->u_id = $a_id;
}

Member Function Documentation

ilChatUser::getLogin ( )

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

{
return $this->user->getLogin();
}
ilChatUser::getUserId ( )

Definition at line 62 of file class.ilChatUser.php.

References $u_id.

Referenced by initUserObject().

{
return $this->u_id;
}

+ Here is the caller graph for this function:

ilChatUser::initUserObject ( )
private

Definition at line 72 of file class.ilChatUser.php.

References getUserId().

Referenced by setUserId().

{
$this->user =& new ilObjUser($this->getUserId());
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilChatUser::setUserId (   $a_id)

Definition at line 56 of file class.ilChatUser.php.

References initUserObject().

{
$this->u_id = $a_id;
$this->initUserObject();
}

+ Here is the call graph for this function:

Field Documentation

ilChatUser::$ilias

Definition at line 34 of file class.ilChatUser.php.

Referenced by __construct().

ilChatUser::$lng

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

Referenced by __construct().

ilChatUser::$u_id

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

Referenced by getUserId().

ilChatUser::$user

Definition at line 36 of file class.ilChatUser.php.


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