Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
mod_assign\downloader Class Reference

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)
 

Constructor & Destructor Documentation

◆ __construct()

mod_assign\downloader::__construct ( assign $manager,
?array $userids = null )

Class constructor.

Parameters
assign$managerthe instance manager
array | null$useridsthe user ids to download.

Member Function Documentation

◆ download_zip()

mod_assign\downloader::download_zip ( )

Download the exported zip.

This method will terminate the current script when the file is send.

◆ load_filelist()

mod_assign\downloader::load_filelist ( )

Load the filelist.

Return values
booltrue if there are some files to zip.

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