|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 78 of file class.ilObjForumAccess.php.
References $DIC, $ilDB, $res, and $row.
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 100 of file class.ilObjForumAccess.php.
References $DIC, $ilDB, $res, $row, 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 149 of file class.ilObjForumAccess.php.
References ilObjForum\preloadForumIdsByRefIds().
Here is the call graph for this function:
|
static |
| int | $usr_id |
Definition at line 183 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 163 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 173 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 133 of file class.ilObjForumAccess.php.
References $text, 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.