Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
upload_manager Class Reference

This class handles all aspects of fileuploading. More...

Public Member Functions

 __construct ($inputname='', $deleteothers=false, $handlecollisions=false, $course=null, $recoverifmultiple=false, $modbytes=0, $silent=false, $allownull=false, $allownullmultiple=true)
 Constructor, sets up configuration stuff so we know how to act.
 

Detailed Description

This class handles all aspects of fileuploading.

Deprecated
since 2.7 - use new file pickers instead
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

upload_manager::__construct ( $inputname = '',
$deleteothers = false,
$handlecollisions = false,
$course = null,
$recoverifmultiple = false,
$modbytes = 0,
$silent = false,
$allownull = false,
$allownullmultiple = true )

Constructor, sets up configuration stuff so we know how to act.

Note: destination not taken as parameter as some modules want to use the insertid in the path and we need to check the other stuff first.

Deprecated
since 2.7 - use new file pickers instead

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