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

Go to the source code of this file.

Namespaces

namespace  mod
 

Local Library of functions for module scorm.


Variables

 $pageid = required_param('pageid', PARAM_INT)
 $wid = optional_param('wid', 0, PARAM_INT)
 $currentgroup = optional_param('group', 0, PARAM_INT)
 $userid = optional_param('uid', 0, PARAM_INT)
 $groupanduser = optional_param('groupanduser', null, PARAM_TEXT)
 $context = get_context_instance(CONTEXT_MODULE, $cm->id)
 $renderer = $PAGE->get_renderer('mod_wiki')
 $tabitems = array('view' => 'view', 'edit' => 'edit', 'comments' => 'comments', 'history' => 'history', 'map' => 'map', 'files' => 'files')
 $options = array('activetab'=>'files')
 if (has_capability('mod/wiki:managefiles', $context))

Variable Documentation

Definition at line 76 of file files.php.

$currentgroup = optional_param('group', 0, PARAM_INT)

Definition at line 32 of file files.php.

$groupanduser = optional_param('groupanduser', null, PARAM_TEXT)

Definition at line 34 of file files.php.

$options = array('activetab'=>'files')

Definition at line 91 of file files.php.

Definition at line 30 of file files.php.

$renderer = $PAGE->get_renderer('mod_wiki')

Definition at line 87 of file files.php.

$tabitems = array('view' => 'view', 'edit' => 'edit', 'comments' => 'comments', 'history' => 'history', 'map' => 'map', 'files' => 'files')

Definition at line 89 of file files.php.

Definition at line 33 of file files.php.

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

Definition at line 31 of file files.php.

if(has_capability('mod/wiki:managefiles', $context))

Definition at line 104 of file files.php.

 All Data Structures Namespaces Files Functions Variables Enumerations