|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | moodle |
Variables | |
| if(isguestuser()) | $returnurl = optional_param('returnurl', '', PARAM_URL) |
| if(empty($returnurl)) | $context = get_context_instance(CONTEXT_USER, $USER->id) |
| $title = get_string('myfiles') | |
| $struser = get_string('user') | |
| $data = new stdClass() | |
| $data | returnurl = $returnurl |
| $options = array('subdirs'=>1, 'maxbytes'=>$CFG->userquota, 'maxfiles'=>-1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL) | |
| $mform = new user_filesedit_form(null, array('data'=>$data, 'options'=>$options)) | |
| if($mform->is_cancelled()) else | if ($formdata=$mform->get_data()) |
| if (empty($returnurl)) $context = get_context_instance(CONTEXT_USER, $USER->id) |
Definition at line 45 of file filesedit.php.
| $data = new stdClass() |
Definition at line 58 of file filesedit.php.
| $mform = new user_filesedit_form(null, array('data'=>$data, 'options'=>$options)) |
Definition at line 63 of file filesedit.php.
| $options = array('subdirs'=>1, 'maxbytes'=>$CFG->userquota, 'maxfiles'=>-1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL) |
Definition at line 60 of file filesedit.php.
| if (isguestuser()) $returnurl = optional_param('returnurl', '', PARAM_URL) |
Definition at line 35 of file filesedit.php.
| $struser = get_string('user') |
Definition at line 49 of file filesedit.php.
| $title = get_string('myfiles') |
Definition at line 48 of file filesedit.php.
Definition at line 67 of file filesedit.php.
Definition at line 59 of file filesedit.php.