Archive_Tar() public method

If the compress argument is set the tar will be read or created as a gzip or bz2 compressed TAR file.
public Archive_Tar ( string $p_tarname, string $p_compress = null )
$p_tarname string The name of the tar archive to create
$p_compress string can be null, 'gz' or 'bz2'. This parameter indicates if gzip or bz2 compression is required. For compatibility reason the boolean value 'true' means 'gz'.
示例#1
0
 function __construct($p_tarname, $p_compress = null, $resumeOffset = 0, $tarSize)
 {
     $this->tarSize = $tarSize;
     $this->resumeOffset = $resumeOffset;
     return parent::Archive_Tar($p_tarname, $p_compress);
 }