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

Go to the source code of this file.

Variables

 $huburl = required_param('huburl', PARAM_URL)
 $password = optional_param('password', '', PARAM_TEXT)
 $hubname = optional_param('hubname', '', PARAM_TEXT)
if(!confirm_sesskey()) $registrationmanager = new registration_manager()
 $registeredhub = $registrationmanager->get_registeredhub($huburl)
 $siteregistrationform
 $fromform = $siteregistrationform->get_data()
if(!empty($fromform) and
confirm_sesskey()) 
$update = optional_param('update', 0, PARAM_INT)
if($update and confirm_sesskey()) if (!empty($fromform) and empty($update) and confirm_sesskey())

Variable Documentation

$fromform = $siteregistrationform->get_data()

Definition at line 60 of file register.php.

$hubname = optional_param('hubname', '', PARAM_TEXT)

Definition at line 47 of file register.php.

$huburl = required_param('huburl', PARAM_URL)

Definition at line 44 of file register.php.

$password = optional_param('password', '', PARAM_TEXT)

Definition at line 46 of file register.php.

$registeredhub = $registrationmanager->get_registeredhub($huburl)

Definition at line 54 of file register.php.

if (!confirm_sesskey()) $registrationmanager = new registration_manager()

Definition at line 52 of file register.php.

$siteregistrationform
Initial value:
 new site_registration_form('',
                array('alreadyregistered' => !empty($registeredhub->token),
                    'huburl' => $huburl, 'hubname' => $hubname,
                    'password' => $password))

Definition at line 56 of file register.php.

if (!empty($fromform) and confirm_sesskey()) $update = optional_param('update', 0, PARAM_INT)

Definition at line 92 of file register.php.

if ($update and confirm_sesskey()) if(!empty($fromform) and empty($update) and confirm_sesskey())

Definition at line 111 of file register.php.

 All Data Structures Namespaces Files Functions Variables Enumerations