|
Moodle
2.2.1
http://www.collinsharper.com
|
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()) |
| $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 |
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.