Class ilObjForumAccess.
More...
◆ _getCommands()
static ilObjForumAccess::_getCommands |
( |
| ) |
|
|
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"), ); Comment mjansen: Cannot make this static because parent method is not static ...
- Returns
- array
Definition at line 33 of file class.ilObjForumAccess.php.
References $ilDB, $res, $row, $size, ilObjectAccess\_checkGoto(), and array.
Referenced by ilObjForumListGUI\init().
38 'permission'=>
'read',
39 'cmd' =>
'showThreads',
44 'permission'=>
'write',
46 'lang_var' =>
'settings' Create styles array
The data for the language used.
◆ _preloadData()
static ilObjForumAccess::_preloadData |
( |
|
$obj_ids, |
|
|
|
$ref_ids |
|
) |
| |
|
static |
- Parameters
-
array | $obj_ids | |
array | $ref_ids | |
Definition at line 168 of file class.ilObjForumAccess.php.
References array.
174 ilObjForum::preloadForumIdsByRefIds((
array)$ref_ids);
Create styles array
The data for the language used.
◆ getCachedUserInstance()
static ilObjForumAccess::getCachedUserInstance |
( |
|
$usr_id | ) |
|
|
static |
◆ getLastPostByRefId()
static ilObjForumAccess::getLastPostByRefId |
( |
|
$ref_id | ) |
|
|
static |
◆ getStatisticsByRefId()
static ilObjForumAccess::getStatisticsByRefId |
( |
|
$ref_id | ) |
|
|
static |
◆ prepareMessageForLists()
static ilObjForumAccess::prepareMessageForLists |
( |
|
$text | ) |
|
|
static |
◆ $userInstanceCache
ilObjForumAccess::$userInstanceCache = array() |
|
staticprotected |
The documentation for this class was generated from the following file: