function ArchiverTar::__construct
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
-
modules/
system/ system.archiver.inc, line 20
Class
- ArchiverTar
- Archiver for .tar files.
Code
public function __construct($file_path) {
$this->tar = new Archive_Tar($file_path);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.