|
ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilChatUser. More...
Collaboration diagram for ilChatRoom:Public Member Functions | |
| ilChatRoom ($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 () | |
| deleteAllMessages () | |
| updateLastVisit () | |
| setKicked ($a_usr_id) | |
| setUnkicked ($a_usr_id) | |
| isKicked ($a_usr_id) | |
| getCountActiveUser ($chat_id, $room_id) | |
| _getCountActiveUsers ($chat_id, $room_id=0) | |
| getActiveUsers () | |
| _isActive ($usr_id) | |
| getOnlineUsers () | |
| validate () | |
| deleteRooms ($a_ids) | |
| delete ($a_id, $a_owner=0) | |
| rename () | |
| lookupRoomId () | |
| add () | |
| getInternalName () | |
| getRooms () | |
| getRoomsOfObject () | |
| getAllRoomsOfObject () | |
| getAllRooms () | |
| checkWriteAccess () | |
| __getCountLines () | |
| __deleteFirstLine () | |
| __addLine ($message) | |
| __read () | |
| _unkick ($a_usr_id) | |
Data Fields | |
| $ilias | |
| $lng | |
| $error_msg | |
| $ref_id | |
| $owner_id | |
| $room_id | |
| $guests | |
| $title | |
| $user_id | |
Class ilChatUser.
Definition at line 32 of file class.ilChatRoom.php.
| ilChatRoom::__addLine | ( | $message | ) |
Definition at line 709 of file class.ilChatRoom.php.
References $res, getObjId(), and getRoomId().
Referenced by appendMessageToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatRoom::__deleteFirstLine | ( | ) |
Definition at line 685 of file class.ilChatRoom.php.
References $res, DB_FETCHMODE_OBJECT, getObjId(), and getRoomId().
Referenced by appendMessageToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatRoom::__getCountLines | ( | ) |
Definition at line 669 of file class.ilChatRoom.php.
References $res, DB_FETCHMODE_OBJECT, getObjId(), and getRoomId().
Referenced by appendMessageToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatRoom::__read | ( | ) |
Definition at line 735 of file class.ilChatRoom.php.
References $res, DB_FETCHMODE_OBJECT, getObjId(), getRoomId(), setOwnerId(), and setTitle().
Referenced by setRoomId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatRoom::_getCountActiveUsers | ( | $chat_id, | |
$room_id = 0 |
|||
| ) |
Definition at line 348 of file class.ilChatRoom.php.
References $res, and $room_id.
Referenced by ilObjChatListGUI\getProperties(), and ilObjChatGUI\viewObject().
Here is the caller graph for this function:| ilChatRoom::_isActive | ( | $usr_id | ) |
Definition at line 379 of file class.ilChatRoom.php.
References $res, and DB_FETCHMODE_OBJECT.
Referenced by ilUsersOnlineBlockGUI\__showActiveChatsOfUser().
Here is the caller graph for this function:| ilChatRoom::_unkick | ( | $a_usr_id | ) |
Definition at line 763 of file class.ilChatRoom.php.
Referenced by ilStartUpGUI\showLogin().
Here is the caller graph for this function:| ilChatRoom::add | ( | ) |
Definition at line 512 of file class.ilChatRoom.php.
References $res, getObjId(), getOwnerId(), and getTitle().
Here is the call graph for this function:| ilChatRoom::appendMessageToDb | ( | $message | ) |
Definition at line 236 of file class.ilChatRoom.php.
References __addLine(), __deleteFirstLine(), and __getCountLines().
Here is the call graph for this function:| ilChatRoom::checkAccess | ( | ) |
Definition at line 195 of file class.ilChatRoom.php.
References $_GET, getObjId(), getRoomId(), getUserId(), isInvited(), isOwner(), setRoomId(), and visited().
Here is the call graph for this function:| ilChatRoom::checkWriteAccess | ( | ) |
Definition at line 640 of file class.ilChatRoom.php.
References $_GET, getOwnerId(), getRoomId(), getUserId(), isInvited(), and isKicked().
Here is the call graph for this function:| ilChatRoom::delete | ( | $a_id, | |
$a_owner = 0 |
|||
| ) |
Definition at line 429 of file class.ilChatRoom.php.
References $data, $res, DB_FETCHMODE_ASSOC, and ilDBx\isDbError().
Here is the call graph for this function:| ilChatRoom::deleteAllMessages | ( | ) |
Definition at line 262 of file class.ilChatRoom.php.
References $res, getObjId(), and getRoomId().
Here is the call graph for this function:| ilChatRoom::deleteRooms | ( | $a_ids | ) |
Definition at line 416 of file class.ilChatRoom.php.
| ilChatRoom::drop | ( | $a_id | ) |
Definition at line 171 of file class.ilChatRoom.php.
References $res, getObjId(), and getRoomId().
Here is the call graph for this function:| ilChatRoom::getActiveUsers | ( | ) |
Definition at line 362 of file class.ilChatRoom.php.
References $res, DB_FETCHMODE_OBJECT, and getObjId().
Here is the call graph for this function:| ilChatRoom::getAllMessages | ( | ) |
Definition at line 246 of file class.ilChatRoom.php.
References $data, $res, DB_FETCHMODE_OBJECT, getObjId(), and getRoomId().
Here is the call graph for this function:| ilChatRoom::getAllRooms | ( | ) |
Definition at line 600 of file class.ilChatRoom.php.
References ilUtil\_getObjectsByOperations(), and ilObjChat\_getPublicChatRefId().
Here is the call graph for this function:| ilChatRoom::getAllRoomsOfObject | ( | ) |
Definition at line 582 of file class.ilChatRoom.php.
References $data, $res, DB_FETCHMODE_OBJECT, and getObjId().
Here is the call graph for this function:| ilChatRoom::getCountActiveUser | ( | $chat_id, | |
| $room_id | |||
| ) |
Definition at line 335 of file class.ilChatRoom.php.
| ilChatRoom::getErrorMessage | ( | ) |
Definition at line 68 of file class.ilChatRoom.php.
References $error_msg.
| ilChatRoom::getGuests | ( | ) |
Definition at line 116 of file class.ilChatRoom.php.
| ilChatRoom::getInternalName | ( | ) |
Definition at line 527 of file class.ilChatRoom.php.
References getObjId(), and getRoomId().
Here is the call graph for this function:| ilChatRoom::getName | ( | ) |
Definition at line 97 of file class.ilChatRoom.php.
References getObjId(), and getRoomId().
Here is the call graph for this function:| ilChatRoom::getObjId | ( | ) |
Definition at line 84 of file class.ilChatRoom.php.
Referenced by __addLine(), __deleteFirstLine(), __getCountLines(), __read(), add(), checkAccess(), deleteAllMessages(), drop(), getActiveUsers(), getAllMessages(), getAllRoomsOfObject(), getInternalName(), getName(), getRoomsOfObject(), invite(), isInvited(), isKicked(), lookupRoomId(), setKicked(), setUnkicked(), updateLastVisit(), and visited().
Here is the caller graph for this function:| ilChatRoom::getOnlineUsers | ( | ) |
Definition at line 396 of file class.ilChatRoom.php.
References ilUtil\getUsersOnline().
Here is the call graph for this function:| ilChatRoom::getOwnerId | ( | ) |
Definition at line 92 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:| ilChatRoom::getRoomId | ( | ) |
Definition at line 80 of file class.ilChatRoom.php.
References $room_id.
Referenced by __addLine(), __deleteFirstLine(), __getCountLines(), __read(), checkAccess(), checkWriteAccess(), deleteAllMessages(), drop(), getAllMessages(), getInternalName(), getName(), invite(), isInvited(), rename(), updateLastVisit(), and visited().
Here is the caller graph for this function:| ilChatRoom::getRooms | ( | ) |
Definition at line 539 of file class.ilChatRoom.php.
References $_GET, $data, $res, DB_FETCHMODE_OBJECT, and getUserId().
Here is the call graph for this function:| ilChatRoom::getRoomsOfObject | ( | ) |
Definition at line 563 of file class.ilChatRoom.php.
References $data, $res, DB_FETCHMODE_OBJECT, getObjId(), and getUserId().
Here is the call graph for this function:| ilChatRoom::getTitle | ( | ) |
Definition at line 112 of file class.ilChatRoom.php.
References $title.
Referenced by add(), lookupRoomId(), rename(), and validate().
Here is the caller graph for this function:| ilChatRoom::getUserId | ( | ) |
Definition at line 124 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:| ilChatRoom::ilChatRoom | ( | $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.
| ilChatRoom::invite | ( | $a_id | ) |
Definition at line 129 of file class.ilChatRoom.php.
References $data, $res, getObjId(), and getRoomId().
Here is the call graph for this function:| ilChatRoom::isInvited | ( | $a_id | ) |
Definition at line 215 of file class.ilChatRoom.php.
References $res, getObjId(), getOwnerId(), and getRoomId().
Referenced by checkAccess(), and checkWriteAccess().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatRoom::isKicked | ( | $a_usr_id | ) |
Definition at line 321 of file class.ilChatRoom.php.
References $res, and getObjId().
Referenced by checkWriteAccess().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatRoom::isOwner | ( | ) |
Definition at line 230 of file class.ilChatRoom.php.
References getOwnerId(), and getUserId().
Referenced by checkAccess().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatRoom::lookupRoomId | ( | ) |
Definition at line 495 of file class.ilChatRoom.php.
References $res, DB_FETCHMODE_OBJECT, getObjId(), getOwnerId(), and getTitle().
Here is the call graph for this function:| ilChatRoom::rename | ( | ) |
Definition at line 482 of file class.ilChatRoom.php.
References $res, getRoomId(), and getTitle().
Here is the call graph for this function:| ilChatRoom::setKicked | ( | $a_usr_id | ) |
Definition at line 293 of file class.ilChatRoom.php.
References getObjId().
Here is the call graph for this function:| ilChatRoom::setOwnerId | ( | $a_id | ) |
Definition at line 88 of file class.ilChatRoom.php.
Referenced by __read().
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(), and ilObjChatGUI\renameRoomObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatRoom::setTitle | ( | $a_title | ) |
Definition at line 108 of file class.ilChatRoom.php.
Referenced by __read(), ilObjChatGUI\addPrivateRoomObject(), and ilObjChatGUI\addRoomObject().
Here is the caller graph for this function:| ilChatRoom::setUnkicked | ( | $a_usr_id | ) |
Definition at line 307 of file class.ilChatRoom.php.
References getObjId().
Here is the call graph for this function:| ilChatRoom::setUserId | ( | $a_id | ) |
Definition at line 120 of file class.ilChatRoom.php.
| ilChatRoom::updateLastVisit | ( | ) |
Definition at line 275 of file class.ilChatRoom.php.
References $res, getObjId(), getRoomId(), and getUserId().
Here is the call graph for this function:| ilChatRoom::validate | ( | ) |
Definition at line 402 of file class.ilChatRoom.php.
References getOwnerId(), and getTitle().
Here is the call graph for this function:| ilChatRoom::visited | ( | $a_id | ) |
Definition at line 183 of file class.ilChatRoom.php.
References $res, getObjId(), and getRoomId().
Referenced by checkAccess().
Here is the call 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 ilChatRoom().
| ilChatRoom::$lng |
Definition at line 35 of file class.ilChatRoom.php.
Referenced by ilChatRoom().
| ilChatRoom::$owner_id |
Definition at line 40 of file class.ilChatRoom.php.
Referenced by getOwnerId().
| ilChatRoom::$ref_id |
Definition at line 39 of file class.ilChatRoom.php.
| ilChatRoom::$room_id |
Definition at line 41 of file class.ilChatRoom.php.
Referenced by _getCountActiveUsers(), 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 getUserId().