Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
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. More... | |
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.