|
eZ Publish
[4.2]
|
Handles files compressed with gzip using the zlib extension. More...
Inheritance diagram for eZGZIPZLIBCompressionHandler:
Collaboration diagram for eZGZIPZLIBCompressionHandler:Public Member Functions | |
| compress ($source) | |
| compressionLevel () | |
| decompress ($source) | |
| doClose () | |
| doEOF () | |
| doFlush () | |
| doOpen ($filename, $mode) | |
| doPasstrough ($closeFile=true) | |
| doRead ($uncompressedLength=false) | |
| doRewind () | |
| doSeek ($offset, $whence) | |
| doTell () | |
| doWrite ($data, $uncompressedLength=false) | |
| errorNumber () | |
| errorString () | |
| eZGZIPZLIBCompressionHandler () | |
| setCompressionLevel ($level) | |
Static Public Member Functions | |
| static | isAvailable () |
Public Attributes | |
| $File | |
| File pointer, returned by gzopen. | |
| $Level | |
| The compression level. | |
Handles files compressed with gzip using the zlib extension.
More information on the zlib extension can be found here: http://www.php.net/manual/en/ref.zlib.php
Definition at line 42 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::compress | ( | $ | source | ) | [virtual] |
Compress the $source string and return it as compressed data.
Implements eZCompressionHandler.
Definition at line 159 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::compressionLevel | ( | ) |
false if the default is to be used. Definition at line 65 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::decompress | ( | $ | source | ) | [virtual] |
Decompress the $source string containing compressed data and return it as a string.
Implements eZCompressionHandler.
Definition at line 164 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doClose | ( | ) | [virtual] |
Does the actual file closing.
Implements eZFileHandler.
Definition at line 91 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doEOF | ( | ) | [virtual] |
Does the actual file eof detection.
Implements eZFileHandler.
Definition at line 141 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doFlush | ( | ) | [virtual] |
Does the actual file flushing.
Implements eZFileHandler.
Definition at line 111 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doOpen | ( | $ | filename, |
| $ | mode | ||
| ) | [virtual] |
Does the actual file opening.
Implements eZFileHandler.
Definition at line 85 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doPasstrough | ( | $ | closeFile = true | ) | [virtual] |
Does the actual file passtrough.
Implements eZFileHandler.
Definition at line 146 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doRead | ( | $ | length = false | ) | [virtual] |
Does the actual file reading.
Implements eZFileHandler.
Definition at line 98 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doRewind | ( | ) |
Does the actual file rewind.
Reimplemented from eZFileHandler.
Definition at line 131 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doSeek | ( | $ | offset, |
| $ | whence | ||
| ) | [virtual] |
Does the actual file seek.
Implements eZFileHandler.
Definition at line 116 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doTell | ( | ) | [virtual] |
Does the actual file telling.
Implements eZFileHandler.
Definition at line 136 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doWrite | ( | $ | data, |
| $ | length = false |
||
| ) | [virtual] |
Does the actual file writing.
Implements eZFileHandler.
Definition at line 103 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::errorNumber | ( | ) | [virtual] |
Implements eZFileHandler.
Definition at line 174 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::errorString | ( | ) | [virtual] |
Implements eZFileHandler.
Definition at line 169 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::eZGZIPZLIBCompressionHandler | ( | ) |
Definition at line 44 of file ezgzipzlibcompressionhandler.php.
| static eZGZIPZLIBCompressionHandler::isAvailable | ( | ) | [static] |
Reimplemented from eZFileHandler.
Definition at line 74 of file ezgzipzlibcompressionhandler.php.
Referenced by eZGZIPCompressionHandler\eZGZIPCompressionHandler().
| eZGZIPZLIBCompressionHandler::setCompressionLevel | ( | $ | level | ) |
Sets the current compression level.
Definition at line 54 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::$File |
File pointer, returned by gzopen.
Definition at line 181 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::$Level |
The compression level.
Definition at line 183 of file ezgzipzlibcompressionhandler.php.