Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_files\local\archive_writer\file_writer_interface Interface Reference

Interface used by archives that write to files. More...

Inheritance diagram for core_files\local\archive_writer\file_writer_interface:
core_files\local\archive_writer\zip_writer

Public Member Functions

 get_path_to_zip ()
 Get the path of the zip.
 

Static Public Member Functions

static file_instance (string $filename)
 Return the file instance.
 

Detailed Description

Interface used by archives that write to files.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ file_instance()

static core_files\local\archive_writer\file_writer_interface::file_instance ( string $filename)
static

Return the file instance.

Parameters
string$filename
Return values
static

Implemented in core_files\local\archive_writer\zip_writer.

◆ get_path_to_zip()

core_files\local\archive_writer\file_writer_interface::get_path_to_zip ( )

Get the path of the zip.

Return values
string

Implemented in core_files\local\archive_writer\zip_writer.


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