public function ArchiverInterface::add
7.x archiver.inc | public ArchiverInterface::add($file_path) |
Adds the specified file or directory to the archive.
Parameters
$file_path: The full system path of the file or directory to add. Only local files and directories are supported.
Return value
ArchiverInterface The called object.
2 methods override ArchiverInterface::add()
- ArchiverTar::add in drupal-7.x/
modules/ system/ system.archiver.inc - Adds the specified file or directory to the archive.
- ArchiverZip::add in drupal-7.x/
modules/ system/ system.archiver.inc - Adds the specified file or directory to the archive.
File
- drupal-7.x/
includes/ archiver.inc, line 33 - Shared classes and interfaces for the archiver system.
Class
- ArchiverInterface
- Defines the common interface for all Archiver classes.
Code
public function add($file_path);