Class: VArchiveGzip

Source Location: /libraries/vwp/archive/drivers/gzip.php

Class Overview [line 38]

VType
   |
   --VObject
      |
      --VArchive
         |
         --VArchiveGzip

VWP GZip archive driver

Author(s):

Version:

Copyright:

  • (c) Ralph Ritoch - All Rights Reserved

Variables

Constants

Methods


Inherited Methods

Class: VArchive

VArchive::__construct()
Class constructor
VArchive::create()
Create an archive
VArchive::extract()
Extract an archive
VArchive::getDriver()
Get archive driver
VArchive::getInstance()
Get a VArchive object
VArchive::_cleanPath()
Clean file path
VArchive::_createArchiveFileList()
Reformat a list of files into an archive file list

Class: VObject

VObject::__construct()
Class Constructor
VObject::bind()
Bind values to this object
VObject::delete()
Delete Object
VObject::get()
Get value
VObject::getAll()
Get all object values
VObject::getError()
Get error message
VObject::getErrors()
Get errors
VObject::getMethods()
Get object methods
VObject::getProperties()
Get object properties
VObject::save()
Save Object
VObject::set()
Set a value
VObject::setError()
Set error value
VObject::setProperties()
Set property values
VObject::setProperty()
Set property value
VObject::toString()
Convert object to string
VObject::__destruct()
Class Destructor
VObject::__get()
VObject::__isset()
VObject::__set()
VObject::__toString()
Return object as a string
VObject::__unset()


Class Details

VWP GZip archive driver

This class provides the VWP GZip archive driver

Tags:

[ Top ]


Class Variables

$_data =  null

[line 63]

Gzip file data buffer

Tags:

  • var - Data buffer
  • access - protected

Type: string

Overrides:

[ Top ]

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

[line 48]

Gzip file flags.

Tags:

  • access - protected

Type: array

Overrides:

[ Top ]


Class Methods

extract

boolean extract( string $archive, string $destination, [array $options = array ()])

[line 120]

Extract a Gzip compressed file to a given path

Tags:

  • return - True if successful
  • access - public

Overrides VArchive::extract() (Extract an archive)

Parameters:

  • string $archive - Path to ZIP archive to extract
  • string $destination - Path to extract archive to
  • array $options - Extraction options [unused]

[ Top ]


Class Constants


Documentation generated on Sun, 06 Mar 2011 02:22:02 -0600 by phpDocumentor 1.4.3