You are here

public function MinisiteArchive::extract in Mini site 7

Exact files to given path.

File

includes/minisite.archive.inc, line 42
Minisite archive class.

Class

MinisiteArchive
Class MinisiteArchive.

Code

public function extract($path, array $files = array()) {
  if ($files) {
    $this->archiver
      ->extract($path, $files);
  }
  else {
    $this->archiver
      ->extract($path);
  }
  return $this;
}