|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
| enum AJAX_SCRIPT |
Definition at line 29 of file repository_ajax.php.
| $accepted_types = optional_param_array('accepted_types', '*', PARAM_RAW) |
Definition at line 49 of file repository_ajax.php.
| $action = optional_param('action', '', PARAM_ALPHA) |
Parameters.
Definition at line 38 of file repository_ajax.php.
| $author = optional_param('author', '', PARAM_TEXT) |
Definition at line 43 of file repository_ajax.php.
| $contextid = optional_param('ctx_id', SYSCONTEXTID, PARAM_INT) |
Definition at line 40 of file repository_ajax.php.
| $env = optional_param('env', 'filepicker', PARAM_ALPHA) |
Definition at line 41 of file repository_ajax.php.
| $err = new stdClass() |
Definition at line 35 of file repository_ajax.php.
| $itemid = optional_param('itemid', 0, PARAM_INT) |
Definition at line 45 of file repository_ajax.php.
| $license = optional_param('license', $CFG->sitedefaultlicense, PARAM_TEXT) |
Definition at line 42 of file repository_ajax.php.
| $linkexternal = optional_param('linkexternal', '', PARAM_ALPHA) |
Definition at line 53 of file repository_ajax.php.
| $maxbytes = optional_param('maxbytes', 0, PARAM_INT) |
Definition at line 47 of file repository_ajax.php.
| $moodle_maxbytes = get_max_upload_file_size() |
Definition at line 86 of file repository_ajax.php.
| $page = optional_param('page', '', PARAM_RAW) |
Definition at line 46 of file repository_ajax.php.
| $repo_id = optional_param('repo_id', 0, PARAM_INT) |
Definition at line 39 of file repository_ajax.php.
| $req_path = optional_param('p', '', PARAM_RAW) |
Definition at line 48 of file repository_ajax.php.
| $saveas_filename = optional_param('title', '', PARAM_FILE) |
Definition at line 50 of file repository_ajax.php.
| $saveas_path = optional_param('savepath', '/', PARAM_PATH) |
Definition at line 51 of file repository_ajax.php.
| $search_text = optional_param('s', '', PARAM_CLEANHTML) |
Definition at line 52 of file repository_ajax.php.
| $source = optional_param('source', '', PARAM_RAW) |
Definition at line 44 of file repository_ajax.php.
| if (empty($_POST)&&!empty($action)) if (!confirm_sesskey()) $sql = 'SELECT i.name, i.typeid, r.type FROM {repository} r, {repository_instances} i WHERE i.id=? AND i.typeid=r.id' |
Get repository instance information.
Definition at line 74 of file repository_ajax.php.