| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Class ilObjForumAccess. More...
 Inheritance diagram for ilObjForumAccess:
 Inheritance diagram for ilObjForumAccess: Collaboration diagram for ilObjForumAccess:
 Collaboration diagram for ilObjForumAccess:| Public Member Functions | |
| _getCommands () | |
| get commands | |
| _checkGoto ($a_target) | |
| check whether goto script will succeed | |
| _getThreadForPosting ($a_pos_id) | |
| Get thread id for posting. | |
| prepareMessageForLists ($text) | |
| Prepare message for container view. | |
|  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) | |
| _checkCondition ($a_obj_id, $a_operator, $a_value, $a_usr_id=0) | |
| check condition | |
| Static Public Member Functions | |
| static | _lookupDiskUsage ($a_obj_id) | 
| Returns the number of bytes used on the harddisk by the specified forum. | |
| static | getNumberOfPostings ($a_obj_id, $a_only_active=false) | 
| Get number of postings. | |
| static | getNumberOfReadPostings ($a_obj_id, $a_only_active=false) | 
| Get number of read posts. | |
| static | getNumberOfNewPostings ($a_obj_id, $a_only_active=false) | 
| Count number of new posts. | |
| static | getLastPost ($a_obj_id, $a_only_active=false) | 
| Count number of new posts. | |
Class ilObjForumAccess.
Definition at line 36 of file class.ilObjForumAccess.php.
| ilObjForumAccess::_checkGoto | ( | $a_target | ) | 
check whether goto script will succeed
Reimplemented from ilObjectAccess.
Definition at line 66 of file class.ilObjForumAccess.php.
| 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"), );
Reimplemented from ilObjectAccess.
Definition at line 51 of file class.ilObjForumAccess.php.
Referenced by ilObjForumListGUI\init().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjForumAccess::_getThreadForPosting | ( | $a_pos_id | ) | 
Get thread id for posting.
Definition at line 87 of file class.ilObjForumAccess.php.
References $ilDB, $res, and DB_FETCHMODE_ASSOC.
Referenced by ilPDNewsTableGUI\fillRow(), ilObjectFeedWriter\ilObjectFeedWriter(), ilUserFeedWriter\ilUserFeedWriter(), and ilNewsForContextBlockGUI\showNews().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Returns the number of bytes used on the harddisk by the specified forum.
| $forum_id | id. | 
Definition at line 104 of file class.ilObjForumAccess.php.
References $ilDB, $lng, $row, $size, DB_FETCHMODE_ASSOC, and ilUtil\getDataDir().
Referenced by ilObjForum\getDiskUsage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Count number of new posts.
| int | $a_user_id | 
Definition at line 243 of file class.ilObjForumAccess.php.
References $ilDB, $ilSetting, $res, and $row.
Referenced by ilObjForumListGUI\getProperties().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Count number of new posts.
| int | $a_user_id | 
Definition at line 198 of file class.ilObjForumAccess.php.
References $ilDB, $ilSetting, $res, and DB_FETCHMODE_ASSOC.
Referenced by ilObjForumListGUI\getProperties().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get number of postings.
Definition at line 137 of file class.ilObjForumAccess.php.
Referenced by ilObjForumListGUI\getProperties().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get number of read posts.
Definition at line 167 of file class.ilObjForumAccess.php.
Referenced by ilObjForumListGUI\getProperties().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjForumAccess::prepareMessageForLists | ( | $text | ) | 
Prepare message for container view.
Definition at line 280 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function: