Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Data structure representing a file manager. More...
Public Member Functions | |
__construct (stdClass $options) | |
Constructor. | |
get_nonjsurl () | |
Public Attributes | |
stdClass | $options |
$options options for filemanager | |
Data structure representing a file manager.
This class defines the data structure for file mnager
form_filemanager::__construct | ( | stdClass | $options | ) |
Constructor.
stdClass | $options | options for filemanager default options are: maxbytes=>-1, areamaxbytes => FILE_AREA_MAX_BYTES_UNLIMITED, maxfiles=>-1, itemid=>0, subdirs=>false, client_id=>uniqid(), acepted_types=>'*', return_types=>FILE_INTERNAL, context=>$PAGE->context, author=>fullname($USER), licenses=>array build from $CFG->licenses, defaultlicense=>$CFG->sitedefaultlicense |