You are here

public function ArchiverInterface::__construct in Drupal 7

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.

2 methods override ArchiverInterface::__construct()
ArchiverTar::__construct in modules/system/system.archiver.inc
Constructs a new archiver instance.
ArchiverZip::__construct in modules/system/system.archiver.inc
Constructs a new archiver instance.

File

includes/archiver.inc, line 21
Shared classes and interfaces for the archiver system.

Class

ArchiverInterface
Defines the common interface for all Archiver classes.

Code

public function __construct($file_path);