ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilChatUser. More...
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().
ilChatRoom::__deleteFirstLine | ( | ) |
Definition at line 685 of file class.ilChatRoom.php.
References $res, DB_FETCHMODE_OBJECT, getObjId(), and getRoomId().
Referenced by appendMessageToDb().
ilChatRoom::__getCountLines | ( | ) |
Definition at line 669 of file class.ilChatRoom.php.
References $res, DB_FETCHMODE_OBJECT, getObjId(), and getRoomId().
Referenced by appendMessageToDb().
ilChatRoom::__read | ( | ) |
Definition at line 735 of file class.ilChatRoom.php.
References $res, DB_FETCHMODE_OBJECT, getObjId(), getRoomId(), setOwnerId(), and setTitle().
Referenced by setRoomId().
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().
ilChatRoom::_isActive | ( | $usr_id | ) |
Definition at line 379 of file class.ilChatRoom.php.
References $res, and DB_FETCHMODE_OBJECT.
Referenced by ilUsersOnlineBlockGUI\__showActiveChatsOfUser().
ilChatRoom::_unkick | ( | $a_usr_id | ) |
Definition at line 763 of file class.ilChatRoom.php.
Referenced by ilStartUpGUI\showLogin().
ilChatRoom::add | ( | ) |
Definition at line 512 of file class.ilChatRoom.php.
References $res, getObjId(), getOwnerId(), and getTitle().
ilChatRoom::appendMessageToDb | ( | $message | ) |
Definition at line 236 of file class.ilChatRoom.php.
References __addLine(), __deleteFirstLine(), and __getCountLines().
ilChatRoom::checkAccess | ( | ) |
Definition at line 195 of file class.ilChatRoom.php.
References $_GET, getObjId(), getRoomId(), getUserId(), isInvited(), isOwner(), setRoomId(), and visited().
ilChatRoom::checkWriteAccess | ( | ) |
Definition at line 640 of file class.ilChatRoom.php.
References $_GET, getOwnerId(), getRoomId(), getUserId(), isInvited(), and isKicked().
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().
ilChatRoom::deleteAllMessages | ( | ) |
Definition at line 262 of file class.ilChatRoom.php.
References $res, getObjId(), and getRoomId().
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().
ilChatRoom::getActiveUsers | ( | ) |
Definition at line 362 of file class.ilChatRoom.php.
References $res, DB_FETCHMODE_OBJECT, and getObjId().
ilChatRoom::getAllMessages | ( | ) |
Definition at line 246 of file class.ilChatRoom.php.
References $data, $res, DB_FETCHMODE_OBJECT, getObjId(), and getRoomId().
ilChatRoom::getAllRooms | ( | ) |
Definition at line 600 of file class.ilChatRoom.php.
References ilUtil\_getObjectsByOperations(), and ilObjChat\_getPublicChatRefId().
ilChatRoom::getAllRoomsOfObject | ( | ) |
Definition at line 582 of file class.ilChatRoom.php.
References $data, $res, DB_FETCHMODE_OBJECT, and getObjId().
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().
ilChatRoom::getName | ( | ) |
Definition at line 97 of file class.ilChatRoom.php.
References getObjId(), and getRoomId().
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().
ilChatRoom::getOnlineUsers | ( | ) |
Definition at line 396 of file class.ilChatRoom.php.
References ilUtil\getUsersOnline().
ilChatRoom::getOwnerId | ( | ) |
Definition at line 92 of file class.ilChatRoom.php.
References $owner_id.
Referenced by add(), checkWriteAccess(), isInvited(), isOwner(), lookupRoomId(), and validate().
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().
ilChatRoom::getRooms | ( | ) |
Definition at line 539 of file class.ilChatRoom.php.
References $_GET, $data, $res, DB_FETCHMODE_OBJECT, and getUserId().
ilChatRoom::getRoomsOfObject | ( | ) |
Definition at line 563 of file class.ilChatRoom.php.
References $data, $res, DB_FETCHMODE_OBJECT, getObjId(), and getUserId().
ilChatRoom::getTitle | ( | ) |
Definition at line 112 of file class.ilChatRoom.php.
References $title.
Referenced by add(), lookupRoomId(), rename(), and validate().
ilChatRoom::getUserId | ( | ) |
Definition at line 124 of file class.ilChatRoom.php.
References $user_id.
Referenced by checkAccess(), checkWriteAccess(), getRooms(), getRoomsOfObject(), isOwner(), and updateLastVisit().
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().
ilChatRoom::isInvited | ( | $a_id | ) |
Definition at line 215 of file class.ilChatRoom.php.
References $res, getObjId(), getOwnerId(), and getRoomId().
Referenced by checkAccess(), and checkWriteAccess().
ilChatRoom::isKicked | ( | $a_usr_id | ) |
Definition at line 321 of file class.ilChatRoom.php.
References $res, and getObjId().
Referenced by checkWriteAccess().
ilChatRoom::isOwner | ( | ) |
Definition at line 230 of file class.ilChatRoom.php.
References getOwnerId(), and getUserId().
Referenced by checkAccess().
ilChatRoom::lookupRoomId | ( | ) |
Definition at line 495 of file class.ilChatRoom.php.
References $res, DB_FETCHMODE_OBJECT, getObjId(), getOwnerId(), and getTitle().
ilChatRoom::rename | ( | ) |
Definition at line 482 of file class.ilChatRoom.php.
References $res, getRoomId(), and getTitle().
ilChatRoom::setKicked | ( | $a_usr_id | ) |
Definition at line 293 of file class.ilChatRoom.php.
References getObjId().
ilChatRoom::setOwnerId | ( | $a_id | ) |
Definition at line 88 of file class.ilChatRoom.php.
Referenced by __read().
ilChatRoom::setRoomId | ( | $a_id | ) |
Definition at line 73 of file class.ilChatRoom.php.
References __read().
Referenced by ilObjChatGUI\adminRoomsObject(), checkAccess(), and ilObjChatGUI\renameRoomObject().
ilChatRoom::setTitle | ( | $a_title | ) |
Definition at line 108 of file class.ilChatRoom.php.
Referenced by __read(), ilObjChatGUI\addPrivateRoomObject(), and ilObjChatGUI\addRoomObject().
ilChatRoom::setUnkicked | ( | $a_usr_id | ) |
Definition at line 307 of file class.ilChatRoom.php.
References getObjId().
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().
ilChatRoom::validate | ( | ) |
Definition at line 402 of file class.ilChatRoom.php.
References getOwnerId(), and getTitle().
ilChatRoom::visited | ( | $a_id | ) |
Definition at line 183 of file class.ilChatRoom.php.
References $res, getObjId(), and getRoomId().
Referenced by checkAccess().
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().