eZPublish  3.9
eZForwardCompressionHandler Class Reference

Handles files compressed with gzip. More...

+ Inheritance diagram for eZForwardCompressionHandler:
+ Collaboration diagram for eZForwardCompressionHandler:

Public Member Functions

 compress ($source)
 
 decompress ($source)
 
 doClose ()
 
 doEOF ()
 
 doFlush ()
 
 doOpen ($filename, $mode)
 
 doPasstrough ()
 
 doRead ($uncompressedLength=false)
 
 doRewind ()
 
 doSeek ($offset, $whence)
 
 doTell ()
 
 doWrite ($data, $uncompressedLength=false)
 
duplicate ()
 
 error ()
 
 errorNumber ()
 
 errorString ()
 
 eZForwardCompressionHandler (&$handler, $name, $identifier)
 
forwardHandler ()
 
- Public Member Functions inherited from eZCompressionHandler
 eZCompressionHandler ($handlerIdentifier, $handlerName)
 
- Public Member Functions inherited from eZFileHandler
 close ()
 
 copy ($sourceFilename, $destinationFilename)
 
 doExists ($filename)
 
 doIsDirectory ($filename)
 
 doIsExecutable ($filename)
 
 doIsFile ($filename)
 
 doIsLink ($filename)
 
 doIsReadable ($filename)
 
 doIsWriteable ($filename)
 
 doPasstrough ($closeFile=true)
 
 doRename ($destinationFilename, $sourceFilename)
 
 doRewind ()
 
 doStatistics ($filename)
 
 doUnlink ($filename)
 
duplicate ()
 
 eof ()
 
 error ()
 
 exists ($filename=false)
 
 eZFileHandler ($handlerIdentifier=false, $handlerName=false)
 
 filename ()
 
 flush ()
 
 identifier ()
 
instance ($identifier, $filename=false, $mode=false, $binaryFile=true)
 
 isAvailable ()
 
 isBinaryMode ()
 
 isDirectory ($filename=false)
 
 isExecutable ($filename=false)
 
 isFile ($filename=false)
 
 isLink ($filename=false)
 
 isOpen ()
 
 isReadable ($filename=false)
 
 isWriteable ($filename=false)
 
 link ($sourceFilename, $destinationFilename)
 
 linkCopy ($sourceFilename, $destinationFilename, $symbolicLink=true)
 
 mode ()
 
 move ($sourceFilename, $destinationFilename)
 
 name ()
 
 open ($filename, $mode, $binaryFile=true)
 
 passtrough ($closeFile=true)
 
 read ($length=false)
 
 rename ($destinationFilename, $sourceFilename=false)
 
 rewind ()
 
 seek ($offset, $whence=SEEK_SET)
 
 statistics ($filename=false)
 
 symlink ($sourceFilename, $destinationFilename)
 
 tell ()
 
 unlink ($filename=false)
 
 write ($data, $length=false)
 

Detailed Description

Handles files compressed with gzip.

This class is a wrapper of the eZGZIPZLIBCompressionHandler and eZGZIPShellCompressionHandler classes.

Member Function Documentation

eZForwardCompressionHandler::compress (   $source)
virtual

Implements eZCompressionHandler.

eZForwardCompressionHandler::decompress (   $source)
virtual

Implements eZCompressionHandler.

eZForwardCompressionHandler::doClose ( )
virtual

Implements eZFileHandler.

eZForwardCompressionHandler::doEOF ( )
virtual

Implements eZFileHandler.

eZForwardCompressionHandler::doFlush ( )
virtual

Implements eZFileHandler.

eZForwardCompressionHandler::doOpen (   $filename,
  $mode 
)
virtual

Implements eZFileHandler.

eZForwardCompressionHandler::doPasstrough ( )
eZForwardCompressionHandler::doRead (   $uncompressedLength = false)
virtual

Implements eZFileHandler.

eZForwardCompressionHandler::doRewind ( )
eZForwardCompressionHandler::doSeek (   $offset,
  $whence 
)
virtual

Implements eZFileHandler.

eZForwardCompressionHandler::doTell ( )
virtual

Implements eZFileHandler.

eZForwardCompressionHandler::doWrite (   $data,
  $uncompressedLength = false 
)
virtual

Implements eZFileHandler.

& eZForwardCompressionHandler::duplicate ( )

Duplicates the forward compression handler by calling duplicate() on the handler which gets the forwarded requests and then creates a new eZForwardCompressionHandler.

eZForwardCompressionHandler::error ( )
eZForwardCompressionHandler::errorNumber ( )
virtual

Implements eZFileHandler.

eZForwardCompressionHandler::errorString ( )
virtual

Implements eZFileHandler.

eZForwardCompressionHandler::eZForwardCompressionHandler ( $handler,
  $name,
  $identifier 
)
& eZForwardCompressionHandler::forwardHandler ( )
Returns
the current handler which all requests are forwarded to.

The documentation for this class was generated from the following file: