Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
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. | |
This class handles all aspects of fileuploading.
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.