|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
| $add = optional_param('add', -1, PARAM_INTEGER) |
Check if the page has been called with trust argument.
Definition at line 70 of file communitycourse.php.
| $backupsize = optional_param('backupsize', 0, PARAM_INT) |
Definition at line 99 of file communitycourse.php.
| if ($add!=-1 and $confirm and confirm_sesskey()) $cancelrestore = optional_param('cancelrestore', false, PARAM_INT) |
Delete temp file when cancel restore.
Definition at line 87 of file communitycourse.php.
Definition at line 218 of file communitycourse.php.
| $communityid = optional_param('communityid', '', PARAM_INTEGER) |
Definition at line 129 of file communitycourse.php.
| if (empty($usercansearch)) else if (!extension_loaded('xmlrpc')) if (!empty($notificationerror)) $communitymanager = new block_community_manager() |
Definition at line 66 of file communitycourse.php.
| $confirm = optional_param('confirmed', false, PARAM_INTEGER) |
Definition at line 71 of file communitycourse.php.
Definition at line 39 of file communitycourse.php.
| $coursefullname = optional_param('coursefullname', '', PARAM_ALPHANUMEXT) |
Definition at line 98 of file communitycourse.php.
| $courseid = required_param('courseid', PARAM_INT) |
Definition at line 36 of file communitycourse.php.
| $courseids = array() |
Definition at line 219 of file communitycourse.php.
| $courseimagenumbers = array() |
Definition at line 220 of file communitycourse.php.
| $courses = null |
Definition at line 154 of file communitycourse.php.
| $download = optional_param('download', -1, PARAM_INTEGER) |
Definition at line 96 of file communitycourse.php.
| $downloadcourseid = optional_param('downloadcourseid', '', PARAM_INTEGER) |
Definition at line 97 of file communitycourse.php.
| if ($remove!=-1 and!empty($communityid) and confirm_sesskey()) $fromformdata['coverage'] = optional_param('coverage', 'all', PARAM_TEXT) |
Definition at line 139 of file communitycourse.php.
| $fromformdata['licence'] = optional_param('licence', 'all', PARAM_ALPHANUMEXT) |
Definition at line 140 of file communitycourse.php.
| $fromformdata['subject'] = optional_param('subject', 'all', PARAM_ALPHANUMEXT) |
Definition at line 141 of file communitycourse.php.
| $fromformdata['audience'] = optional_param('audience', 'all', PARAM_ALPHANUMEXT) |
Definition at line 142 of file communitycourse.php.
| $fromformdata['language'] = optional_param('language', current_language(), PARAM_ALPHANUMEXT) |
Definition at line 143 of file communitycourse.php.
| $fromformdata['educationallevel'] = optional_param('educationallevel', 'all', PARAM_ALPHANUMEXT) |
Definition at line 144 of file communitycourse.php.
| $fromformdata['downloadable'] = optional_param('downloadable', 0, PARAM_ALPHANUM) |
Definition at line 145 of file communitycourse.php.
| $fromformdata['orderby'] = optional_param('orderby', 'newest', PARAM_ALPHA) |
Definition at line 146 of file communitycourse.php.
| $fromformdata['huburl'] = optional_param('huburl', HUB_MOODLEORGHUBURL, PARAM_URL) |
Definition at line 147 of file communitycourse.php.
Definition at line 148 of file communitycourse.php.
Definition at line 149 of file communitycourse.php.
| $hubselectorform = new community_hub_search_form('', $fromformdata) |
Definition at line 150 of file communitycourse.php.
| if ($usercandownload and $cancelrestore and confirm_sesskey()) $huburl = optional_param('huburl', false, PARAM_URL) |
Download.
Definition at line 95 of file communitycourse.php.
| $parentcourse = $DB->get_record('course', array('id' => $courseid), '*', MUST_EXIST) |
Definition at line 37 of file communitycourse.php.
| if ($usercandownload and $download!=-1 and!empty($downloadcourseid) and confirm_sesskey()) $remove = optional_param('remove', '', PARAM_INTEGER) |
Remove community.
Definition at line 128 of file communitycourse.php.
| $renderer = $PAGE->get_renderer('block_community') |
Definition at line 67 of file communitycourse.php.
| $search = optional_param('search', null, PARAM_TEXT) |
Definition at line 47 of file communitycourse.php.
| $usercandownload = has_capability('moodle/community:download', $context) |
Definition at line 51 of file communitycourse.php.
| $usercansearch = has_capability('moodle/community:add', $context) |
Definition at line 50 of file communitycourse.php.
| if(!empty($courses)) |
Definition at line 155 of file communitycourse.php.