| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Class ilChatUser. More...
 Collaboration diagram for ilChatRoom:
 Collaboration diagram for ilChatRoom:| Public Member Functions | |
| __construct ($a_id) | |
| Constructor  public. | |
| getErrorMessage () | |
| setRoomId ($a_id) | |
| getRoomId () | |
| getObjId () | |
| setOwnerId ($a_id) | |
| getOwnerId () | |
| getName () | |
| setTitle ($a_title) | |
| getTitle () | |
| getGuests () | |
| setUserId ($a_id) | |
| getUserId () | |
| invite ($a_id) | |
| drop ($a_id) | |
| visited ($a_id) | |
| checkAccess () | |
| isInvited ($a_id) | |
| isOwner () | |
| appendMessageToDb ($message) | |
| getAllMessages ($min_timestamp=0) | |
| getNewMessages ($last_known_id, &$new_last_known_id=-1, $max_age=0) | |
| deleteAllMessages () | |
| updateLastVisit () | |
| setKicked ($a_usr_id) | |
| setUnkicked ($a_usr_id) | |
| isKicked ($a_usr_id) | |
| getCountActiveUser ($chat_id, $room_id) | |
| getActiveUsers () | |
| getOnlineUsers () | |
| validate () | |
| deleteRooms ($a_ids) | |
| delete ($a_id, $a_owner=0) | |
| rename () | |
| lookupRoomId () | |
| add () | |
| getInternalName () | |
| getRooms () | |
| getRoomsOfObject ($chat_id=0, $owner_id=0) | |
| getAllRoomsOfObject ($chat_id=0) | |
| getAllRooms () | |
| checkWriteAccess () | |
| Static Public Member Functions | |
| static | _getOwnerId ($room_id) | 
| static | _checkAccess ($obj_id, $room_id, $ref_id, $user_id, $owner_id) | 
| static | _isInvited ($obj_id, $room_id, $owner_id, $a_id) | 
| static | _isKicked ($a_usr_id, $chat_id) | 
| static | _getCountActiveUsers ($chat_id, $room_id=0) | 
| static | _isActive ($usr_id) | 
| static | _checkWriteAccess ($ref_id, $room_id, $user_id) | 
| static | _unkick ($a_usr_id) | 
| Data Fields | |
| $ilias | |
| $lng | |
| $error_msg | |
| $ref_id | |
| $owner_id | |
| $room_id | |
| $guests | |
| $title | |
| $user_id | |
| Private Member Functions | |
| getCountLines () | |
| deleteFirstLine () | |
| addLine ($message) | |
| read () | |
Class ilChatUser.
Definition at line 32 of file class.ilChatRoom.php.
| ilChatRoom::__construct | ( | $a_id | ) | 
Constructor public.
| 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.ilChatRoom.php.
| 
 | static | 
| 
 | static | 
Definition at line 846 of file class.ilChatRoom.php.
References $ref_id, $room_id, and $user_id.
Referenced by ilMailAddressbookGUI\inviteToChat().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 473 of file class.ilChatRoom.php.
References $ilDB, $res, and $room_id.
Referenced by ilObjChatListGUI\getProperties(), and ilObjChatGUI\viewObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 99 of file class.ilChatRoom.php.
References $ilDB, $res, $room_id, $row, and DB_FETCHMODE_OBJECT.
| 
 | static | 
Definition at line 509 of file class.ilChatRoom.php.
References $ilDB, $res, $row, $usr_id, and DB_FETCHMODE_OBJECT.
Referenced by ilUsersOnlineBlockGUI\__showActiveChatsOfUser().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 277 of file class.ilChatRoom.php.
| 
 | static | 
Definition at line 441 of file class.ilChatRoom.php.
| 
 | static | 
Definition at line 993 of file class.ilChatRoom.php.
References $ilDB.
Referenced by ilStartUpGUI\showLogin().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::add | ( | ) | 
Definition at line 668 of file class.ilChatRoom.php.
References $ilDB, $res, getObjId(), getOwnerId(), and getTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 925 of file class.ilChatRoom.php.
References $ilDB, $res, getObjId(), and getRoomId().
Referenced by appendMessageToDb().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::appendMessageToDb | ( | $message | ) | 
Definition at line 300 of file class.ilChatRoom.php.
References addLine().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::checkAccess | ( | ) | 
Definition at line 224 of file class.ilChatRoom.php.
References $_GET, getObjId(), getRoomId(), getUserId(), isInvited(), isOwner(), setRoomId(), and visited().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::checkWriteAccess | ( | ) | 
Definition at line 818 of file class.ilChatRoom.php.
References $_GET, getOwnerId(), getRoomId(), getUserId(), isInvited(), and isKicked().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::delete | ( | $a_id, | |
| $a_owner = 0 | |||
| ) | 
Definition at line 562 of file class.ilChatRoom.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_ASSOC, and ilDB\isDbError().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::deleteAllMessages | ( | ) | 
Definition at line 356 of file class.ilChatRoom.php.
References $ilDB, $res, getObjId(), and getRoomId().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 892 of file class.ilChatRoom.php.
References $ilDB, $res, $row, DB_FETCHMODE_OBJECT, getObjId(), and getRoomId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::deleteRooms | ( | $a_ids | ) | 
Definition at line 549 of file class.ilChatRoom.php.
| ilChatRoom::drop | ( | $a_id | ) | 
Definition at line 195 of file class.ilChatRoom.php.
References $ilDB, $res, getObjId(), and getRoomId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::getActiveUsers | ( | ) | 
Definition at line 490 of file class.ilChatRoom.php.
References $ilDB, $res, $row, DB_FETCHMODE_OBJECT, and getObjId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::getAllMessages | ( | $min_timestamp = 0 | ) | 
Definition at line 310 of file class.ilChatRoom.php.
References $data, $ilDB, $res, $row, DB_FETCHMODE_OBJECT, getObjId(), and getRoomId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::getAllRooms | ( | ) | 
Definition at line 778 of file class.ilChatRoom.php.
References ilUtil\_getObjectsByOperations(), and ilObjChat\_getPublicChatRefId().
Referenced by ilChatBlock\getReadableAreas(), and ilMailAddressbookGUI\inviteToChat().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::getAllRoomsOfObject | ( | $chat_id = 0 | ) | 
Definition at line 756 of file class.ilChatRoom.php.
References $data, $ilDB, $res, $row, DB_FETCHMODE_OBJECT, and getObjId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::getCountActiveUser | ( | $chat_id, | |
| $room_id | |||
| ) | 
Definition at line 457 of file class.ilChatRoom.php.
| 
 | private | 
Definition at line 874 of file class.ilChatRoom.php.
References $ilDB, $res, $row, DB_FETCHMODE_OBJECT, getObjId(), and getRoomId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::getErrorMessage | ( | ) | 
Definition at line 68 of file class.ilChatRoom.php.
References $error_msg.
| ilChatRoom::getGuests | ( | ) | 
Definition at line 139 of file class.ilChatRoom.php.
| ilChatRoom::getInternalName | ( | ) | 
Definition at line 687 of file class.ilChatRoom.php.
References getObjId(), and getRoomId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::getName | ( | ) | 
Definition at line 117 of file class.ilChatRoom.php.
References getObjId(), and getRoomId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::getNewMessages | ( | $last_known_id, | |
| & | $new_last_known_id = -1, | ||
| $max_age = 0 | |||
| ) | 
Definition at line 330 of file class.ilChatRoom.php.
References $data, $ilDB, $res, $row, DB_FETCHMODE_OBJECT, getObjId(), and getRoomId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::getObjId | ( | ) | 
Definition at line 84 of file class.ilChatRoom.php.
Referenced by add(), addLine(), checkAccess(), deleteAllMessages(), deleteFirstLine(), drop(), getActiveUsers(), getAllMessages(), getAllRoomsOfObject(), getCountLines(), getInternalName(), getName(), getNewMessages(), getRoomsOfObject(), invite(), isInvited(), isKicked(), lookupRoomId(), read(), setKicked(), setUnkicked(), updateLastVisit(), and visited().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::getOnlineUsers | ( | ) | 
Definition at line 528 of file class.ilChatRoom.php.
References ilUtil\getUsersOnline().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::getOwnerId | ( | ) | 
Definition at line 94 of file class.ilChatRoom.php.
References $owner_id.
Referenced by add(), checkWriteAccess(), isInvited(), isOwner(), lookupRoomId(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::getRoomId | ( | ) | 
Definition at line 79 of file class.ilChatRoom.php.
References $room_id.
Referenced by addLine(), checkAccess(), checkWriteAccess(), deleteAllMessages(), deleteFirstLine(), drop(), getAllMessages(), getCountLines(), getInternalName(), getName(), getNewMessages(), invite(), isInvited(), read(), rename(), updateLastVisit(), and visited().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::getRooms | ( | ) | 
Definition at line 699 of file class.ilChatRoom.php.
References $_GET, $data, $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and getUserId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::getRoomsOfObject | ( | $chat_id = 0, | |
| $owner_id = 0 | |||
| ) | 
Definition at line 730 of file class.ilChatRoom.php.
References $data, $ilDB, $owner_id, $res, $row, DB_FETCHMODE_OBJECT, getObjId(), and getUserId().
Referenced by ilMailAddressbookGUI\inviteToChat().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::getTitle | ( | ) | 
Definition at line 134 of file class.ilChatRoom.php.
References $title.
Referenced by add(), lookupRoomId(), rename(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::getUserId | ( | ) | 
Definition at line 149 of file class.ilChatRoom.php.
References $user_id.
Referenced by checkAccess(), checkWriteAccess(), getRooms(), getRoomsOfObject(), isOwner(), and updateLastVisit().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::invite | ( | $a_id | ) | 
Definition at line 154 of file class.ilChatRoom.php.
References $ilDB, $res, getObjId(), and getRoomId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::isInvited | ( | $a_id | ) | 
Definition at line 259 of file class.ilChatRoom.php.
References $ilDB, $res, getObjId(), getOwnerId(), and getRoomId().
Referenced by checkAccess(), and checkWriteAccess().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::isKicked | ( | $a_usr_id | ) | 
Definition at line 425 of file class.ilChatRoom.php.
References $ilDB, $res, and getObjId().
Referenced by checkWriteAccess(), and updateLastVisit().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::isOwner | ( | ) | 
Definition at line 294 of file class.ilChatRoom.php.
References getOwnerId(), and getUserId().
Referenced by checkAccess().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::lookupRoomId | ( | ) | 
Definition at line 649 of file class.ilChatRoom.php.
References $ilDB, $res, $row, DB_FETCHMODE_OBJECT, getObjId(), getOwnerId(), and getTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 962 of file class.ilChatRoom.php.
References $ilDB, $res, $row, DB_FETCHMODE_OBJECT, getObjId(), getRoomId(), setOwnerId(), and setTitle().
Referenced by setRoomId().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::rename | ( | ) | 
Definition at line 635 of file class.ilChatRoom.php.
References $ilDB, $res, getRoomId(), and getTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::setKicked | ( | $a_usr_id | ) | 
Definition at line 394 of file class.ilChatRoom.php.
References $ilDB, $res, and getObjId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::setOwnerId | ( | $a_id | ) | 
Definition at line 89 of file class.ilChatRoom.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::setRoomId | ( | $a_id | ) | 
Definition at line 73 of file class.ilChatRoom.php.
References read().
Referenced by ilObjChatGUI\adminRoomsObject(), checkAccess(), ilObjChatGUI\deleteRoomObject(), ilObjChatGUI\renameObject(), and ilObjChatGUI\renameRoomObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::setTitle | ( | $a_title | ) | 
Definition at line 129 of file class.ilChatRoom.php.
Referenced by ilObjChatGUI\addPrivateRoomAsyncObject(), ilObjChatGUI\addRoomObject(), and read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::setUnkicked | ( | $a_usr_id | ) | 
Definition at line 410 of file class.ilChatRoom.php.
References $ilDB, $res, and getObjId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::setUserId | ( | $a_id | ) | 
Definition at line 144 of file class.ilChatRoom.php.
| ilChatRoom::updateLastVisit | ( | ) | 
Definition at line 370 of file class.ilChatRoom.php.
References $ilDB, $res, getObjId(), getRoomId(), getUserId(), and isKicked().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::validate | ( | ) | 
Definition at line 534 of file class.ilChatRoom.php.
References getOwnerId(), and getTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatRoom::visited | ( | $a_id | ) | 
Definition at line 209 of file class.ilChatRoom.php.
References $ilDB, $res, getObjId(), and getRoomId().
Referenced by checkAccess().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatRoom::$error_msg | 
Definition at line 37 of file class.ilChatRoom.php.
Referenced by getErrorMessage().
| ilChatRoom::$guests | 
Definition at line 42 of file class.ilChatRoom.php.
| ilChatRoom::$ilias | 
Definition at line 34 of file class.ilChatRoom.php.
Referenced by __construct().
| ilChatRoom::$lng | 
Definition at line 35 of file class.ilChatRoom.php.
Referenced by __construct().
| ilChatRoom::$owner_id | 
Definition at line 40 of file class.ilChatRoom.php.
Referenced by _checkAccess(), _isInvited(), getOwnerId(), and getRoomsOfObject().
| ilChatRoom::$ref_id | 
Definition at line 39 of file class.ilChatRoom.php.
Referenced by _checkAccess(), and _checkWriteAccess().
| ilChatRoom::$room_id | 
Definition at line 41 of file class.ilChatRoom.php.
Referenced by _checkAccess(), _checkWriteAccess(), _getCountActiveUsers(), _getOwnerId(), _isInvited(), getCountActiveUser(), and getRoomId().
| ilChatRoom::$title | 
Definition at line 43 of file class.ilChatRoom.php.
Referenced by getTitle().
| ilChatRoom::$user_id | 
Definition at line 45 of file class.ilChatRoom.php.
Referenced by _checkAccess(), _checkWriteAccess(), and getUserId().