Public Member Functions | Data Fields

ilObjChatServer Class Reference

Inheritance diagram for ilObjChatServer:
Collaboration diagram for ilObjChatServer:

Public Member Functions

 ilObjChatServer ($a_id=0, $a_call_by_reference=true)
 Constructor public.
 read ()

Data Fields

 $server_conf
 $server_comm
 $chat_room
 $chat_user

Detailed Description

Definition at line 40 of file class.ilObjChatServer.php.


Member Function Documentation

ilObjChatServer::ilObjChatServer ( a_id = 0,
a_call_by_reference = true 
)

Constructor public.

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

Definition at line 53 of file class.ilObjChatServer.php.

References ilObject::getId(), and ilObject::ilObject().

        {
                $this->type = "chac";
                $this->ilObject($a_id,$a_call_by_reference);

                $this->server_conf =& new ilChatServerConfig();
                $this->server_comm =& new ilChatServerCommunicator($this);
                $this->chat_user =& new ilChatUser();
                $this->chat_room =& new ilChatRoom($this->getId());
        }

Here is the call graph for this function:

ilObjChatServer::read (  ) 

Definition at line 64 of file class.ilObjChatServer.php.

References ilObject::getId().

        {
                // USED ilObjectFactory::getInstance...
                parent::read();

                $this->server_conf =& new ilChatServerConfig();
                $this->server_comm =& new ilChatServerCommunicator($this);
                $this->chat_user =& new ilChatUser();
                $this->chat_room =& new ilChatRoom($this->getId());
        }

Here is the call graph for this function:


Field Documentation

ilObjChatServer::$chat_room

Definition at line 44 of file class.ilObjChatServer.php.

ilObjChatServer::$chat_user

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

ilObjChatServer::$server_comm

Definition at line 43 of file class.ilObjChatServer.php.

ilObjChatServer::$server_conf

Definition at line 42 of file class.ilObjChatServer.php.


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