Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/data/field.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)
 $d = optional_param('d', 0, PARAM_INT)
 $fid = optional_param('fid', 0 , PARAM_INT)
 $newtype = optional_param('newtype','',PARAM_ALPHA)
 $mode = optional_param('mode','',PARAM_ALPHA)
 $defaultsort = optional_param('defaultsort', 0, PARAM_INT)
 $defaultsortdir = optional_param('defaultsortdir', 0, PARAM_INT)
 $cancel = optional_param('cancel', 0, PARAM_BOOL)
if($cancel$url = new moodle_url('/mod/data/field.php')
 $context = get_context_instance(CONTEXT_MODULE, $cm->id)
switch($mode$directories = get_list_of_plugins('mod/data/field/')
 Print the browsing interface.
 $menufield = array()

Variable Documentation

Definition at line 36 of file field.php.

Definition at line 91 of file field.php.

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

Definition at line 30 of file field.php.

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

Definition at line 34 of file field.php.

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

Definition at line 35 of file field.php.

switch ($mode) $directories = get_list_of_plugins('mod/data/field/')

Print the browsing interface.

get the list of possible fields (plugins)

Definition at line 243 of file field.php.

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

Definition at line 31 of file field.php.

Definition at line 29 of file field.php.

$menufield = array()

Definition at line 244 of file field.php.

Definition at line 33 of file field.php.

$newtype = optional_param('newtype','',PARAM_ALPHA)

Definition at line 32 of file field.php.

if ($cancel) $url = new moodle_url('/mod/data/field.php')

Definition at line 42 of file field.php.

 All Data Structures Namespaces Files Functions Variables Enumerations