ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilChatUser Class Reference

Class ilChatUser. More...

+ Collaboration diagram for ilChatUser:

Public Member Functions

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

Data Fields

 $ilias
 $lng
 $user
 $u_id

Detailed Description

Class ilChatUser.

Author
Stefan Meyer
Version
Id:
class.ilChatUser.php 12811 2006-12-08 18:37:44Z akill

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

Member Function Documentation

ilChatUser::__initUserObject ( )

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::getLogin ( )

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

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

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

References $u_id.

Referenced by __initUserObject().

{
return $this->u_id;
}

+ Here is the caller graph for this function:

ilChatUser::ilChatUser (   $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;
}
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 ilChatUser().

ilChatUser::$lng

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

Referenced by ilChatUser().

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: