previousArchive-Tar (Previous) (Next) Archive_Tar::add()next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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'.

previousArchive-Tar (Previous) (Next) Archive_Tar::add()next

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.