|
ILIAS
release_8 Revision v8.24
|
Access class for chatroom objects. More...
Inheritance diagram for ilObjChatroomAccess:
Collaboration diagram for ilObjChatroomAccess:Public Member Functions | |
| _checkAccess (string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null) | |
| Checks whether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More... | |
| canBeDelivered (ilWACPath $ilWACPath) | |
| _checkAccess (string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null) | |
| Checks whether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More... | |
| canBeDelivered (ilWACPath $ilWACPath) | |
| canBeDelivered (ilWACPath $ilWACPath) | |
Static Public Member Functions | |
| static | _getCommands () |
| get commands More... | |
| static | _checkGoto (string $target) |
| check whether goto script will succeed More... | |
| static | isActivated (int $refId, int $objId, bool &$a_visible_flag=null) |
| static | lookupOnline (int $a_obj_id) |
Static Public Member Functions inherited from ilObjectAccess | |
| static | _getCommands () |
| get commands More... | |
| static | _checkGoto (string $target) |
| check whether goto script will succeed More... | |
| static | _isOffline (int $obj_id) |
| Type-specific implementation of general status, has to be overwritten if object type does not support centralized offline handling. More... | |
| static | _preloadData (array $obj_ids, array $ref_ids) |
| Preload data. More... | |
Static Private Member Functions | |
| static | checkRoomAccess (string $a_permission, int $a_ref_id, int $a_obj_id, int $a_user_id) |
Static Private Attributes | |
| static bool | $chat_enabled = null |
Access class for chatroom objects.
Definition at line 27 of file class.ilObjChatroomAccess.php.
| ilObjChatroomAccess::_checkAccess | ( | string | $cmd, |
| string | $permission, | ||
| int | $ref_id, | ||
| int | $obj_id, | ||
| ?int | $user_id = null |
||
| ) |
Checks whether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess)
Please do not check any preconditions handled by ilConditionHandler here. Also don't do any RBAC checks.
Reimplemented from ilObjectAccess.
Definition at line 58 of file class.ilObjChatroomAccess.php.
References $GLOBALS, $ref_id, and checkRoomAccess().
Here is the call graph for this function:
|
static |
check whether goto script will succeed
Reimplemented from ilObjectAccess.
Definition at line 40 of file class.ilObjChatroomAccess.php.
References ilChatroom\checkUserPermissions().
Here is the call graph for this function:
|
static |
get commands
this method returns an array of all possible commands/permission combinations
example: $commands = array ( array("permission" => "read", "cmd" => "view", "lang_var" => "show"), array("permission" => "write", "cmd" => "edit", "lang_var" => "edit"), );
Reimplemented from ilObjectAccess.
Definition at line 31 of file class.ilObjChatroomAccess.php.
Referenced by ilObjChatroomListGUI\init().
Here is the caller graph for this function:| ilObjChatroomAccess::canBeDelivered | ( | ilWACPath | $ilWACPath | ) |
Reimplemented from ilObjectAccess.
Definition at line 148 of file class.ilObjChatroomAccess.php.
References ilWACPath\getPath().
Here is the call graph for this function:
|
staticprivate |
Definition at line 67 of file class.ilObjChatroomAccess.php.
References $chat_enabled, $DIC, ilAccessInfo\IL_NO_OBJECT_ACCESS, and isActivated().
Referenced by _checkAccess().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 114 of file class.ilObjChatroomAccess.php.
References $objId, $refId, ilObjectActivation\getItem(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by ilChatroom\checkPermissions(), and checkRoomAccess().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 135 of file class.ilObjChatroomAccess.php.
|
staticprivate |
Definition at line 29 of file class.ilObjChatroomAccess.php.
Referenced by checkRoomAccess().