Archive_Tar::Archive_Tar()

Archive_Tar::Archive_Tar() – constructor

Synopsis

require_once 'Archive/Tar.php';

void Archive_Tar ( string $tarname , mixed $compress = null )

Description

The constructor declares a new Archive_Tar object, identifying it by the name of the tar file.

Parameter

  • string $tarname - the name of the tar archive to work with

  • mixed $compress - if TRUE, indicates that the archive is compressed (using gzip). if NULL the archive is not compressed, if 'gz' or 'bz2', indicates that the archive is compressed with gzip or bz2. For compatibility reason the boolean value TRUE means 'gz'.

Archive-Tar (Previous) add files or directories (Next)
Last updated: Mon, 20 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.