Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: