ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilObjForumAccess. More...
Static Public Member Functions | |
static | _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... | |
static | _checkGoto ($a_target) |
Check whether goto script will succeed Comment mjansen: Cannot make this static because parent method is not static ... More... | |
static | _getThreadForPosting ($a_pos_id) |
Get thread id for posting. More... | |
static | _lookupDiskUsage ($a_obj_id) |
Returns the number of bytes used on the harddisk by the specified forum. More... | |
static | prepareMessageForLists ($text) |
Prepare message for container view. More... | |
static | _preloadData ($obj_ids, $ref_ids) |
static | getLastPostByRefId ($ref_id) |
static | getStatisticsByRefId ($ref_id) |
static | getCachedUserInstance ($usr_id) |
Static Public Member Functions inherited from ilObjectAccess | |
static | _getCommands () |
get commands More... | |
static | _checkGoto ($a_target) |
check whether goto script will succeed More... | |
static | _isOffline ($a_obj_id) |
Type-specific implementation of general status, has to be overwritten. More... | |
static | _preloadData ($a_obj_ids, $a_ref_ids) |
Preload data. More... | |
Static Protected Attributes | |
static | $userInstanceCache = array() |
Additional Inherited Members | |
Public Member Functions inherited from ilObjectAccess | |
_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... | |
|
static |
Check whether goto script will succeed Comment mjansen: Cannot make this static because parent method is not static ...
string | $a_target |
Definition at line 58 of file class.ilObjForumAccess.php.
References $DIC.
|
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 ...
Definition at line 33 of file class.ilObjForumAccess.php.
References array.
Referenced by ilObjForumListGUI\init().
|
static |
Get thread id for posting.
int | $a_pos_id |
Definition at line 81 of file class.ilObjForumAccess.php.
References $DIC, $ilDB, $res, $row, and array.
Referenced by ilObjectFeedWriter\__construct(), ilUserFeedWriter\__construct(), ilPDNewsTableGUI\fillRow(), ilForumNewsRendererGUI\getObjectLink(), and ilNewsForContextBlockGUI\showNews().
|
static |
Returns the number of bytes used on the harddisk by the specified forum.
int | $a_obj_id |
Definition at line 103 of file class.ilObjForumAccess.php.
References $DIC, $ilDB, $res, $row, $size, and array.
Referenced by ilObjForum\getDiskUsage().
|
static |
array | $obj_ids | |
array | $ref_ids |
Definition at line 155 of file class.ilObjForumAccess.php.
References array, and ilObjForum\preloadForumIdsByRefIds().
|
static |
int | $usr_id |
Definition at line 189 of file class.ilObjForumAccess.php.
References ilObjectFactory\getInstanceByObjId(), and ilObjUser\userExists().
Referenced by ilForumPost\getUserData(), and ilForumAuthorInformation\initUserInstance().
|
static |
int | $ref_id |
Definition at line 169 of file class.ilObjForumAccess.php.
References ilObjForum\lookupLastPostByRefId().
Referenced by ilObjForumListGUI\getProperties().
|
static |
int | $ref_id |
Definition at line 179 of file class.ilObjForumAccess.php.
References ilObjForum\lookupStatisticsByRefId().
Referenced by ilObjForumListGUI\getProperties().
|
static |
Prepare message for container view.
string | $text |
Definition at line 138 of file class.ilObjForumAccess.php.
References $text, ilStr\strLen(), and ilStr\subStr().
Referenced by ilObjForumListGUI\getProperties().
|
staticprotected |
Definition at line 19 of file class.ilObjForumAccess.php.