ILIAS
Release_4_1_x_branch Revision 61804
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilObjChatServer.php
Go to the documentation of this file.
1
<?php
2
/*
3
+-----------------------------------------------------------------------------+
4
| ILIAS open source |
5
+-----------------------------------------------------------------------------+
6
| Copyright (c) 1998-2009 ILIAS open source, University of Cologne |
7
| |
8
| This program is free software; you can redistribute it and/or |
9
| modify it under the terms of the GNU General Public License |
10
| as published by the Free Software Foundation; either version 2 |
11
| of the License, or (at your option) any later version. |
12
| |
13
| This program is distributed in the hope that it will be useful, |
14
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
15
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16
| GNU General Public License for more details. |
17
| |
18
| You should have received a copy of the GNU General Public License |
19
| along with this program; if not, write to the Free Software |
20
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21
+-----------------------------------------------------------------------------+
22
*/
23
33
require_once
'classes/class.ilObjectGUI.php'
;
34
require_once
'Modules/Chat/classes/class.ilChatServerConfig.php'
;
35
require_once
'Modules/Chat/classes/class.ilChatServerCommunicator.php'
;
36
require_once
'Modules/Chat/classes/class.ilChatUser.php'
;
37
require_once
'Modules/Chat/classes/class.ilChatRoom.php'
;
38
39
class
ilObjChatServer
extends
ilObject
40
{
41
var
$server_conf
;
42
var
$server_comm
;
43
var
$chat_room
;
44
var
$chat_user
;
45
52
public
function
__construct
($a_id = 0,$a_call_by_reference =
true
)
53
{
54
$this->type =
'chac'
;
55
$this->
ilObject
($a_id,$a_call_by_reference);
56
57
$this->server_conf =&
new
ilChatServerConfig
();
58
$this->server_comm =&
new
ilChatServerCommunicator
($this);
59
$this->chat_user =&
new
ilChatUser
();
60
$this->chat_room =&
new
ilChatRoom
($this->
getId
());
61
}
62
63
public
function
read
()
64
{
65
// USED ilObjectFactory::getInstance...
66
parent::read
();
67
68
$this->server_conf =&
new
ilChatServerConfig
();
69
$this->server_comm =&
new
ilChatServerCommunicator
($this);
70
$this->chat_user =&
new
ilChatUser
();
71
$this->chat_room =&
new
ilChatRoom
($this->
getId
());
72
}
73
}
// END class.ilObjChatServer
74
?>
Modules
Chat
classes
class.ilObjChatServer.php
Generated on Thu Apr 21 2016 19:02:28 for ILIAS by
1.8.1.2 (using
Doxyfile
)