Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/user/repository.php File Reference

Go to the source code of this file.

Namespaces

namespace  user

Variables

 $config = optional_param('config', 0, PARAM_INT)
 $course = optional_param('course', SITEID, PARAM_INT)
 $url = new moodle_url('/user/repository.php', array('course'=>$course))
 $user = $USER
 $baseurl = $CFG->wwwroot . '/user/repository.php'
 $namestr = get_string('name')
 $fullname = fullname($user)
 $strrepos = get_string('repositories', 'repository')
 $configstr = get_string('manageuserrepository', 'repository')
 $pluginstr = get_string('plugin', 'repository')
 $coursecontext = get_context_instance(CONTEXT_COURSE, $course->id, MUST_EXIST)
 $link = new moodle_url('/user/view.php', array('id'=>$user->id))
 $currenttab = 'repositories'
 $params = array()
 $params ['context'] = $coursecontext
 $params ['currentcontext'] = $PAGE->context
 $params ['userid'] = $USER->id
if(!$instances=repository::get_instances($params)) $table = new html_table()
$table head = array($namestr, $pluginstr, '')
$table data = array()
 foreach ($instances as $i)

Variable Documentation

$baseurl = $CFG->wwwroot . '/user/repository.php'

Definition at line 41 of file repository.php.

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

Definition at line 29 of file repository.php.

$configstr = get_string('manageuserrepository', 'repository')

Definition at line 45 of file repository.php.

Definition at line 30 of file repository.php.

Definition at line 49 of file repository.php.

$currenttab = 'repositories'

Definition at line 59 of file repository.php.

Definition at line 43 of file repository.php.

$link = new moodle_url('/user/view.php', array('id'=>$user->id))

Definition at line 51 of file repository.php.

$namestr = get_string('name')

Definition at line 42 of file repository.php.

$params = array()

Definition at line 65 of file repository.php.

$params['context'] = $coursecontext

Definition at line 66 of file repository.php.

$params['currentcontext'] = $PAGE->context

Definition at line 67 of file repository.php.

$params['userid'] = $USER->id

Definition at line 68 of file repository.php.

$pluginstr = get_string('plugin', 'repository')

Definition at line 46 of file repository.php.

$strrepos = get_string('repositories', 'repository')

Definition at line 44 of file repository.php.

if (!$instances=repository::get_instances($params)) $table = new html_table()

Definition at line 73 of file repository.php.

$url = new moodle_url('/user/repository.php', array('course'=>$course))

Definition at line 32 of file repository.php.

$user = $USER

Definition at line 40 of file repository.php.

Definition at line 75 of file repository.php.

foreach($instances as $i)

Definition at line 77 of file repository.php.

$table head = array($namestr, $pluginstr, '')

Definition at line 74 of file repository.php.

 All Data Structures Namespaces Files Functions Variables Enumerations