Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
ChatServer Class Reference
Inheritance diagram for ChatServer:
Inheritance graph
Collaboration diagram for ChatServer:
Collaboration graph

Public Member Functions

 GetInstance ($class_name)
 ChatServer ()
 restore ()
 store ()
 addChat ($rangeid, $chatname="Stud.IP Global Chat", $password=false)
 removeChat ($rangeid)
 isActiveChat ($rangeid)
 getActiveUsers ($rangeid)
 getUsers ($rangeid)
 getIdFromNick ($rangeid, $nick)
 addUser ($userid, $rangeid, $nick, $fullname, $chatperm, $color="black")
 getFullname ($userid, $rangeid)
 getNick ($userid, $rangeid)
 getPerm ($userid, $rangeid)
 getAction ($userid, $rangeid)
 getHeartbeat ($userid, $rangeid)
 setHeartbeat ($userid, $rangeid)
 removeUser ($userid, $rangeid)
 isActiveUser ($userid, $rangeid)
 addMsg ($userid, $rangeid, $msg)
 getMsg ($rangeid, $msStamp=null)
 removeCmdMsg ($userid, $rangeid)
 logoutUser ($userid)
 getAllChatUsers ()
 getAdminChats ($user_id)
 getMsTime ()
 msTimeToFloat ($arg=null)

Data Fields

 $that
 $chatUser = array()
 $chatDetail = array()
 $caching = FALSE

Member Function Documentation

addChat (   $rangeid,
  $chatname = "Stud.IP Global Chat",
  $password = false 
)

Here is the call graph for this function:

addMsg (   $userid,
  $rangeid,
  $msg 
)

Here is the call graph for this function:

Here is the caller graph for this function:

addUser (   $userid,
  $rangeid,
  $nick,
  $fullname,
  $chatperm,
  $color = "black" 
)

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

getAction (   $userid,
  $rangeid 
)
getActiveUsers (   $rangeid)

Here is the call graph for this function:

Here is the caller graph for this function:

getAdminChats (   $user_id)

Here is the call graph for this function:

getAllChatUsers ( )

Here is the call graph for this function:

getFullname (   $userid,
  $rangeid 
)

Here is the caller graph for this function:

getHeartbeat (   $userid,
  $rangeid 
)

Here is the caller graph for this function:

getIdFromNick (   $rangeid,
  $nick 
)

Here is the call graph for this function:

GetInstance (   $class_name)

Here is the caller graph for this function:

getMsg (   $rangeid,
  $msStamp = null 
)

Here is the call graph for this function:

getMsTime ( )

Here is the caller graph for this function:

getNick (   $userid,
  $rangeid 
)

Here is the caller graph for this function:

getPerm (   $userid,
  $rangeid 
)
getUsers (   $rangeid)

Here is the call graph for this function:

Here is the caller graph for this function:

isActiveChat (   $rangeid)

Here is the call graph for this function:

Here is the caller graph for this function:

isActiveUser (   $userid,
  $rangeid 
)

Here is the call graph for this function:

Here is the caller graph for this function:

logoutUser (   $userid)

Here is the call graph for this function:

msTimeToFloat (   $arg = null)

Here is the call graph for this function:

Here is the caller graph for this function:

removeChat (   $rangeid)

Here is the call graph for this function:

Here is the caller graph for this function:

removeCmdMsg (   $userid,
  $rangeid 
)

Here is the call graph for this function:

Here is the caller graph for this function:

removeUser (   $userid,
  $rangeid 
)

Here is the call graph for this function:

Here is the caller graph for this function:

restore ( )

Here is the caller graph for this function:

setHeartbeat (   $userid,
  $rangeid 
)

Here is the call graph for this function:

store ( )

Here is the caller graph for this function:

Field Documentation

$caching = FALSE
$chatDetail = array()
$chatUser = array()
$that

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