Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
form_filemanager Class Reference

Data structure representing a file manager. More...

Inheritance diagram for form_filemanager:

Public Member Functions

 __construct (stdClass $options)
 Constructor.
 
 get_nonjsurl ()
 

Public Attributes

stdClass $options
 $options options for filemanager
 

Detailed Description

Data structure representing a file manager.

This class defines the data structure for file mnager

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Todo
do not use this abstraction (skodak)

Constructor & Destructor Documentation

◆ __construct()

form_filemanager::__construct ( stdClass $options)

Constructor.

Parameters
stdClass$optionsoptions 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

The documentation for this class was generated from the following file: