|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | mod |
Local Library of functions for module scorm. | |
Variables | |
| $id = optional_param('id', 0, PARAM_INT) | |
| $f = optional_param('f', 0, PARAM_INT) | |
| $mode = optional_param('mode', 0, PARAM_INT) | |
| $showall = optional_param('showall', '', PARAM_INT) | |
| $changegroup = optional_param('group', -1, PARAM_INT) | |
| $page = optional_param('page', 0, PARAM_INT) | |
| $search = optional_param('search', '', PARAM_CLEAN) | |
| $params = array() | |
| if(!empty($CFG->enablerssfeeds)&&!empty($CFG-> forum_enablerssfeeds)&&$forum-> rsstype &&$forum->rssarticles) | $completion = new completion_info($course) |
| $currentgroup = groups_get_activity_group($cm) | |
| $groupmode = groups_get_activity_groupmode($cm) | |
| if($forum->type== 'single') if(!empty($forum-> blockafter)&&!empty($forum-> blockperiod)) if($forum->type== 'qanda'&&!has_capability('moodle/course:manageactivities', $context)) | switch ($forum->type) |
| Okay, we can show the discussions. Log the forum view. | |
| $changegroup = optional_param('group', -1, PARAM_INT) |
| if (!empty($CFG->enablerssfeeds)&&!empty($CFG->forum_enablerssfeeds)&&$forum->rsstype &&$forum->rssarticles) $completion = new completion_info($course) |
| $currentgroup = groups_get_activity_group($cm) |
| $f = optional_param('f', 0, PARAM_INT) |
| $search = optional_param('search', '', PARAM_CLEAN) |
| $showall = optional_param('showall', '', PARAM_INT) |