function ArchiverInterface::__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.

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

Class

ArchiverInterface
Defines the common interface for all Archiver classes.

Code

public function __construct($file_path);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.