1 system.archiver.inc | public ArchiverTar::__construct($file_path) |
Constructs a new archiver instance.
Parameters
$file_path: The full system path of the archive to manipulate. Only local files are supported. If the file does not yet exist, it will be created if appropriate.
Overrides ArchiverInterface::__construct
File
- core/
modules/ system/ system.archiver.inc, line 19 - Archiver implementations provided by the system module.
Class
- ArchiverTar
- Archiver for .tar files.
Code
public function __construct($file_path) {
$this->tar = new Archive_Tar($file_path);
}