|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Variables | |
| $contextid = required_param('contextid', PARAM_INT) | |
| $component = 'course' | |
| $filearea = 'legacy' | |
| $itemid = 0 | |
| $url = new moodle_url('/files/coursefilesedit.php', array('contextid'=>$contextid)) | |
| $heading = get_string('coursefiles') . ': ' . format_string($course->fullname, true, array('context' => $context)) | |
| $strfiles = get_string("files") | |
| $data = new stdClass() | |
| $options = array('subdirs'=>1, 'maxfiles'=>-1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL) | |
| $form = new coursefiles_edit_form(null, array('data'=>$data, 'contextid'=>$contextid)) | |
| $returnurl = new moodle_url('/files/index.php', array('contextid'=>$contextid)) | |
| if($form->is_cancelled()) | if ($data=$form->get_data()) |
Definition at line 24 of file coursefilesedit.php.
Definition at line 23 of file coursefilesedit.php.
| $data = new stdClass() |
Definition at line 48 of file coursefilesedit.php.
| $filearea = 'legacy' |
Definition at line 25 of file coursefilesedit.php.
Definition at line 51 of file coursefilesedit.php.
| $heading = get_string('coursefiles') . ': ' . format_string($course->fullname, true, array('context' => $context)) |
Definition at line 36 of file coursefilesedit.php.
| $itemid = 0 |
Definition at line 26 of file coursefilesedit.php.
| $options = array('subdirs'=>1, 'maxfiles'=>-1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL) |
Definition at line 49 of file coursefilesedit.php.
| $returnurl = new moodle_url('/files/index.php', array('contextid'=>$contextid)) |
Definition at line 53 of file coursefilesedit.php.
| $strfiles = get_string("files") |
Definition at line 37 of file coursefilesedit.php.
| $url = new moodle_url('/files/coursefilesedit.php', array('contextid'=>$contextid)) |
Definition at line 30 of file coursefilesedit.php.
Definition at line 59 of file coursefilesedit.php.