Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Class to download user submissions. More...
Public Member Functions | |
__construct (assign $manager, ?array $userids=null) | |
Class constructor. | |
download_zip () | |
Download the exported zip. | |
load_filelist () | |
Load the filelist. | |
Protected Attributes | |
array | $filesforzipping |
$filesforzipping the files to zipo (path => file) | |
Class to download user submissions.
mod_assign\downloader::__construct | ( | assign | $manager, |
?array | $userids = null ) |
Class constructor.
assign | $manager | the instance manager |
array | null | $userids | the user ids to download. |
mod_assign\downloader::download_zip | ( | ) |
Download the exported zip.
This method will terminate the current script when the file is send.
mod_assign\downloader::load_filelist | ( | ) |
Load the filelist.
bool | true if there are some files to zip. |