Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/admin/roles/allow.php File Reference

Go to the source code of this file.

Namespaces

namespace  core

Variables

 $mode = required_param('mode', PARAM_ACTION)
 $classformode
if(!isset($classformode[$mode])) $baseurl = new moodle_url('/admin/roles/allow.php', array('mode'=>$mode))
 $syscontext = get_context_instance(CONTEXT_SYSTEM)
 $controller = new $classformode[$mode]()
 $currenttab = $mode
 $table = $controller->get_table()

Variable Documentation

if (!isset($classformode[$mode])) $baseurl = new moodle_url('/admin/roles/allow.php', array('mode'=>$mode))

Definition at line 41 of file allow.php.

$classformode
Initial value:
 array(
    'assign' => 'role_allow_assign_page',
    'override' => 'role_allow_override_page',
    'switch' => 'role_allow_switch_page'
)

Definition at line 32 of file allow.php.

$controller = new $classformode[$mode]()

Definition at line 47 of file allow.php.

$currenttab = $mode

Definition at line 61 of file allow.php.

Definition at line 31 of file allow.php.

Definition at line 44 of file allow.php.

$table = $controller->get_table()

Definition at line 64 of file allow.php.

 All Data Structures Namespaces Files Functions Variables Enumerations