Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/forum/view.php File Reference

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.

Variable Documentation

$changegroup = optional_param('group', -1, PARAM_INT)

Definition at line 32 of file view.php.

if (!empty($CFG->enablerssfeeds)&&!empty($CFG->forum_enablerssfeeds)&&$forum->rsstype &&$forum->rssarticles) $completion = new completion_info($course)

Definition at line 104 of file view.php.

$currentgroup = groups_get_activity_group($cm)

Definition at line 126 of file view.php.

$f = optional_param('f', 0, PARAM_INT)

Definition at line 29 of file view.php.

Definition at line 127 of file view.php.

Definition at line 28 of file view.php.

Definition at line 30 of file view.php.

Definition at line 33 of file view.php.

$params = array()

Definition at line 36 of file view.php.

Definition at line 34 of file view.php.

$showall = optional_param('showall', '', PARAM_INT)

Definition at line 31 of file view.php.

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.

Print settings and things across the top

Definition at line 168 of file view.php.

 All Data Structures Namespaces Files Functions Variables Enumerations