|
eZ Publish
[trunk]
|
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 19 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::compress | ( | $ | source | ) | [virtual] |
Compress the $source string and return it as compressed data.
Implements eZCompressionHandler.
Definition at line 135 of file ezgzipzlibcompressionhandler.php.
false if the default is to be used. Definition at line 42 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 140 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doClose | ( | ) | [virtual] |
Does the actual file closing.
Implements eZFileHandler.
Definition at line 68 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doEOF | ( | ) | [virtual] |
Does the actual file eof detection.
Implements eZFileHandler.
Definition at line 117 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doFlush | ( | ) | [virtual] |
Does the actual file flushing.
Implements eZFileHandler.
Definition at line 88 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doOpen | ( | $ | filename, |
| $ | mode | ||
| ) | [virtual] |
Does the actual file opening.
Implements eZFileHandler.
Definition at line 62 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doPasstrough | ( | $ | closeFile = true | ) | [virtual] |
Does the actual file passtrough.
Implements eZFileHandler.
Definition at line 122 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doRead | ( | $ | length = false | ) | [virtual] |
Does the actual file reading.
Implements eZFileHandler.
Definition at line 75 of file ezgzipzlibcompressionhandler.php.
Does the actual file rewind.
Reimplemented from eZFileHandler.
Definition at line 107 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doSeek | ( | $ | offset, |
| $ | whence | ||
| ) | [virtual] |
Does the actual file seek.
Implements eZFileHandler.
Definition at line 93 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doTell | ( | ) | [virtual] |
Does the actual file telling.
Implements eZFileHandler.
Definition at line 112 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::doWrite | ( | $ | data, |
| $ | length = false |
||
| ) | [virtual] |
Does the actual file writing.
Implements eZFileHandler.
Definition at line 80 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::errorNumber | ( | ) | [virtual] |
Implements eZFileHandler.
Definition at line 150 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::errorString | ( | ) | [virtual] |
Implements eZFileHandler.
Definition at line 145 of file ezgzipzlibcompressionhandler.php.
Definition at line 21 of file ezgzipzlibcompressionhandler.php.
| static eZGZIPZLIBCompressionHandler::isAvailable | ( | ) | [static] |
Reimplemented from eZFileHandler.
Definition at line 51 of file ezgzipzlibcompressionhandler.php.
Referenced by eZGZIPCompressionHandler\eZGZIPCompressionHandler().
Sets the current compression level.
Definition at line 31 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::$File |
File pointer, returned by gzopen.
Definition at line 157 of file ezgzipzlibcompressionhandler.php.
| eZGZIPZLIBCompressionHandler::$Level |
The compression level.
Definition at line 159 of file ezgzipzlibcompressionhandler.php.