Class for creating archives in various formats - zip, tar.bz2, etc
This is the code documentation for the SproutCMS project
Search documentation |
class ArchiveClass for creating archives in various formats - zip, tar.bz2, etc
Extending this class<?php
/**
* New class description goes here
*
* @author Your Name, 2025-11-05
**/
class NewClassName extends Archive {
/**
* Creates a raw archive file and returns it.
**/
public function create () {
// Method code goes here
}
/**
* Loads the archive driver.
**/
public function __construct (string $type) {
// Method code goes here
}
/**
* Adds files or directories, recursively, to an archive.
**/
public function add (string $path, string $name, bool $recursive) {
// Method code goes here
}
/**
* Creates an archive and saves it into a file.
**/
public function save (string $filename) {
// Method code goes here
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |
|