Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/blocks/private_files/edit.php File Reference

Go to the source code of this file.

Namespaces

namespace  block_private_files

Variables

if(isguestuser()) $context = get_context_instance(CONTEXT_USER, $USER->id)
 $title = get_string('privatefiles', 'block_private_files')
 $struser = get_string('user')
 $data = new stdClass()
 $options = array('subdirs'=>1, 'maxbytes'=>$CFG->userquota, 'maxfiles'=>-1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL)
 $mform = new block_private_files_form(null, array('data'=>$data, 'options'=>$options))
if($mform->is_cancelled()) else if ($formdata=$mform->get_data())

Variable Documentation

Definition at line 36 of file edit.php.

$data = new stdClass()

Definition at line 47 of file edit.php.

$mform = new block_private_files_form(null, array('data'=>$data, 'options'=>$options))

Definition at line 51 of file edit.php.

$options = array('subdirs'=>1, 'maxbytes'=>$CFG->userquota, 'maxfiles'=>-1, 'accepted_types'=>'*', 'return_types'=>FILE_INTERNAL)

Definition at line 48 of file edit.php.

$struser = get_string('user')

Definition at line 38 of file edit.php.

$title = get_string('privatefiles', 'block_private_files')

Definition at line 37 of file edit.php.

if ($mform->is_cancelled()) else if($formdata=$mform->get_data())

Definition at line 56 of file edit.php.

 All Data Structures Namespaces Files Functions Variables Enumerations