function ArchiverTar::extract
Overrides ArchiverInterface::extract
File
-
modules/
system/ system.archiver.inc, line 39
Class
- ArchiverTar
- Archiver for .tar files.
Code
public function extract($path, array $files = array()) {
if ($files) {
$this->tar
->extractList($files, $path, '', FALSE, FALSE);
}
else {
$this->tar
->extract($path, FALSE, FALSE);
}
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.