Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/course/publish/hubselector.php File Reference

Go to the source code of this file.

Variables

 $id = required_param('id', PARAM_INT)
 $course = $DB->get_record('course', array('id'=>$id), '*', MUST_EXIST)
 $registrationmanager = new registration_manager()
 $registeredhubs = $registrationmanager->get_registered_on_hubs()
if(empty($registeredhubs)) $share = optional_param('share', false, PARAM_BOOL)
 $advertise = optional_param('advertise', false, PARAM_BOOL)
 $hubselectorform
 $fromform = $hubselectorform->get_data()
 $huburl = optional_param('huburl', false, PARAM_URL)
 if (!empty($huburl) and confirm_sesskey())

Variable Documentation

$advertise = optional_param('advertise', false, PARAM_BOOL)

Definition at line 53 of file hubselector.php.

$course = $DB->get_record('course', array('id'=>$id), '*', MUST_EXIST)

Definition at line 33 of file hubselector.php.

$fromform = $hubselectorform->get_data()

Definition at line 56 of file hubselector.php.

$hubselectorform
Initial value:
 new hub_publish_selector_form('',
        array('id' => $id, 'share' => $share, 'advertise' => $advertise))

Definition at line 54 of file hubselector.php.

$huburl = optional_param('huburl', false, PARAM_URL)

Definition at line 59 of file hubselector.php.

Definition at line 32 of file hubselector.php.

$registeredhubs = $registrationmanager->get_registered_on_hubs()

Definition at line 42 of file hubselector.php.

$registrationmanager = new registration_manager()

Definition at line 41 of file hubselector.php.

if (empty($registeredhubs)) $share = optional_param('share', false, PARAM_BOOL)

Definition at line 52 of file hubselector.php.

if(!empty($huburl) and confirm_sesskey())

Definition at line 62 of file hubselector.php.

 All Data Structures Namespaces Files Functions Variables Enumerations