Public Member Functions | Data Fields

ilChatUser Class Reference

Public Member Functions

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

Data Fields

 $ilias
 $lng
 $user
 $u_id

Detailed Description

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


Member Function Documentation

ilChatUser::__initUserObject (  ) 

Definition at line 73 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 67 of file class.ilChatUser.php.

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

ilChatUser::getUserId (  ) 

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

Referenced by __initUserObject().

        {
                return $this->u_id;
        }

Here is the caller graph for this function:

ilChatUser::ilChatUser ( a_id = 0  ) 

Constructor public.

Parameters:
integer reference_id or object_id
boolean treat the id as reference_id (true) or object_id (false)

Definition at line 46 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 57 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 35 of file class.ilChatUser.php.

Referenced by ilChatUser().

ilChatUser::$lng

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

Referenced by ilChatUser().

ilChatUser::$u_id

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

ilChatUser::$user

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


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