ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilObjForumAccess. More...
Public Member Functions | |
_getCommands () | |
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"), ); Comment mjansen: Cannot make this static because parent method is not static ... More... | |
_preloadData ($obj_ids, $ref_ids) | |
![]() | |
_checkAccess ($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id="") | |
Checks wether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More... | |
_checkCondition ($a_obj_id, $a_operator, $a_value, $a_usr_id) | |
check condition More... | |
_getCommands () | |
get commands More... | |
_checkGoto ($a_target) | |
check whether goto script will succeed More... | |
_preloadData ($a_obj_ids, $a_ref_ids) | |
Preload data. More... | |
Static Public Member Functions | |
static | prepareMessageForLists ($text) |
Prepare message for container view. More... | |
static | getLastPostByRefId ($ref_id) |
static | getStatisticsByRefId ($ref_id) |
static | getCachedUserInstance ($usr_id) |
![]() | |
static | _isOffline ($a_obj_id) |
Type-specific implementation of general status, has to be overwritten. More... | |
Static Protected Attributes | |
static | $userInstanceCache = array() |
ilObjForumAccess::_getCommands | ( | ) |
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"), ); Comment mjansen: Cannot make this static because parent method is not static ...
Definition at line 33 of file class.ilObjForumAccess.php.
References $ilDB, $res, $row, $size, and ilObjectAccess\_checkGoto().
Referenced by ilObjForumListGUI\init().
ilObjForumAccess::_preloadData | ( | $obj_ids, | |
$ref_ids | |||
) |
array | $obj_ids | |
array | $ref_ids |
Definition at line 168 of file class.ilObjForumAccess.php.
|
static |
int | $usr_id |
Definition at line 202 of file class.ilObjForumAccess.php.
References ilObjectFactory\getInstanceByObjId().
Referenced by ilForumPost\getUserData(), and ilForumAuthorInformation\initUserInstance().
|
static |
int | $ref_id |
Definition at line 182 of file class.ilObjForumAccess.php.
References $ref_id.
Referenced by ilObjForumListGUI\initItem().
|
static |
int | $ref_id |
Definition at line 192 of file class.ilObjForumAccess.php.
References $ref_id.
Referenced by ilObjForumListGUI\initItem().
|
static |
Prepare message for container view.
string | $text |
Definition at line 150 of file class.ilObjForumAccess.php.
References ilStr\strLen(), and ilStr\subStr().
Referenced by ilObjForumListGUI\initItem().
|
staticprotected |
Definition at line 19 of file class.ilObjForumAccess.php.