Support Joomla!

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class JArchiveGzip

Description

Gzip 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>

  • since: 1.5

Located in /joomla/filesystem/archive/gzip.php (line 31)

Class JObject   (Subpackage Base)

Class JArchiveGzip   (Subpackage FileSystem)
Variable Summary
Variable string $_data
Variable array $_flags
Method Summary
Method boolean extract (string $archive, string $destination, [array $options = array ()])
Variables
string $_data = null (line 49)

Gzip file data buffer

array $_flags = array (
'FTEXT' => 0x01,
'FHCRC' => 0x02,
'FEXTRA' => 0x04,
'FNAME' => 0x08,
'FCOMMENT' => 0x10
)
(line 37)

Gzip file flags.

Inherited Variables

Inherited from JObject

Variable JObject::$_errors
Methods
extract (line 61)

Extract a Gzip compressed file to a given path

  • return: True if successful
  • since: 1.5
  • access: public
boolean extract (string $archive, string $destination, [array $options = array ()])
  • string $archive: Path to ZIP archive to extract
  • string $destination: Path to extract archive to
  • array $options: Extraction options [unused]
_getFilePosition (line 97)

Get file data offset for archive

  • return: Data position marker for archive
  • since: 1.5
  • access: public
int _getFilePosition ()

Inherited Methods

Inherited From JObject

 JObject::JObject()
 JObject::__construct()
 JObject::get()
 JObject::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::getPublicProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::toString()

Documentation generated on Mon, 22 Sep 2008 12:09:50 +0100 by phpDocumentor 1.3.1