|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilObjForumAccess. More...
Inheritance diagram for ilObjForumAccess:
Collaboration diagram for ilObjForumAccess: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 if object type does not support centralized offline handling. 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... | ||||
| canBeDelivered (ilWACPath $ilWACPath) | ||||
| ||||
| canBeDelivered (ilWACPath $ilWACPath) | ||||
|
static |
Check whether goto script will succeed Comment mjansen: Cannot make this static because parent method is not static ...
| string | $a_target |
Reimplemented from ilObjectAccess.
Definition at line 55 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 ...
Reimplemented from ilObjectAccess.
Definition at line 30 of file class.ilObjForumAccess.php.
Referenced by ilObjForumListGUI\init().
Here is the caller graph for this function:
|
static |
Get thread id for posting.
| int | $a_pos_id |
Definition at line 81 of file class.ilObjForumAccess.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjectFeedWriter\__construct(), ilUserFeedWriter\__construct(), ilPDNewsTableGUI\fillRow(), ilForumNewsRendererGUI\getObjectLink(), and ilNewsForContextBlockGUI\showNews().
Here is the caller graph for this function:
|
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, and $size.
Referenced by ilObjForum\getDiskUsage().
Here is the caller graph for this function:
|
static |
| array | $obj_ids | |
| array | $ref_ids |
Reimplemented from ilObjectAccess.
Definition at line 152 of file class.ilObjForumAccess.php.
References ilObjForum\preloadForumIdsByRefIds().
Here is the call graph for this function:
|
static |
| int | $usr_id |
Definition at line 186 of file class.ilObjForumAccess.php.
References ilObjectFactory\getInstanceByObjId(), and ilObjUser\userExists().
Referenced by ilForumAuthorInformation\initUserInstance().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| int | $ref_id |
Definition at line 166 of file class.ilObjForumAccess.php.
References ilObjForum\lookupLastPostByRefId().
Referenced by ilObjForumListGUI\getProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| int | $ref_id |
Definition at line 176 of file class.ilObjForumAccess.php.
References ilObjForum\lookupStatisticsByRefId().
Referenced by ilObjForumListGUI\getProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Prepare message for container view.
| string | $text |
Definition at line 136 of file class.ilObjForumAccess.php.
References ilStr\strLen(), and ilStr\subStr().
Referenced by ilObjForumListGUI\getProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 16 of file class.ilObjForumAccess.php.