[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/archive/src/ -> Gzip.php (summary)

Part of the Joomla Framework Archive Package

Copyright: Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 214 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Gzip:: (4 methods):
  __construct()
  extract()
  isSupported()
  getFilePosition()


Class: Gzip  - X-Ref

Gzip format adapter for the Archive package

This class is inspired from and draws heavily in code and concept from the Compress package of
The Horde Project <http://www.horde.org>

__construct($options = [])   X-Ref
Create a new Archive object.

param: array|\ArrayAccess  $options  An array of options

extract($archive, $destination)   X-Ref
Extract a Gzip compressed file to a given path

param: string  $archive      Path to ZIP archive to extract
param: string  $destination  Path to extract archive to
return: boolean  True if successful

isSupported()   X-Ref
Tests whether this adapter can unpack files on this computer.

return: boolean  True if supported

getFilePosition()   X-Ref
Get file data offset for archive

return: integer  Data position marker for archive



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer