JArchiveTar
Description
Tar format adapter for the JArchive class
This class is inspired from and draws heavily in code and concept from the Compress package of The Horde Project <http://www.horde.org>
Located in /joomla/filesystem/archive/tar.php (line 32)
JObject (Subpackage Base) JArchiveTar (Subpackage FileSystem)
Variable Summary
Method Summary
Variables
string
$_data
= null (line 66)
Tar file data buffer
array
$_flags
= array (
'FTEXT' => 0x01,
'FHCRC' => 0x02,
'FEXTRA' => 0x04,
'FNAME' => 0x08,
'FCOMMENT' => 0x10
) (line 54)
'FTEXT' => 0x01,
'FHCRC' => 0x02,
'FEXTRA' => 0x04,
'FNAME' => 0x08,
'FCOMMENT' => 0x10
) (line 54)
Tar file flags.
array
$_metadata
= null (line 72)
Tar file metadata array
array
$_types
= array (
0x0 => 'Unix file',
0x30 => 'File',
0x31 => 'Link',
0x32 => 'Symbolic link',
0x33 => 'Character special file',
0x34 => 'Block special file',
0x35 => 'Directory',
0x36 => 'FIFO special file',
0x37 => 'Contiguous file'
) (line 38)
0x0 => 'Unix file',
0x30 => 'File',
0x31 => 'Link',
0x32 => 'Symbolic link',
0x33 => 'Character special file',
0x34 => 'Block special file',
0x35 => 'Directory',
0x36 => 'FIFO special file',
0x37 => 'Contiguous file'
) (line 38)
Tar file types.
Methods
extract (line 84)
Extract a ZIP compressed file to a given path
boolean
extract
(string $archive, string $destination, [array $options = array ()])
- string $archive: Path to ZIP archive to extract
- string $destination: Path to extract archive into
- array $options: Extraction options [unused]
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getPublicProperties()
JObject::set()
JObject::toString()
Documentation generated on Mon, 05 Mar 2007 21:27:50 +0000 by phpDocumentor 1.3.1