|
eZ Publish
[trunk]
|
Handles files compressed with gzip using the shell commands. More...
Inheritance diagram for eZGZIPShellCompressionHandler:
Collaboration diagram for eZGZIPShellCompressionHandler: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 () | |
| eZGZIPShellCompressionHandler () | |
| gunzipFile ($filename) | |
| 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 shell commands.
Handles GZIP compression by executing the 'gzip' executable, without this the handler cannot work.
NOTE: This is not done yet.
Definition at line 21 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::compress | ( | $ | source | ) | [virtual] |
Compress the $source string and return it as compressed data.
Implements eZCompressionHandler.
Definition at line 120 of file ezgzipshellcompressionhandler.php.
false if the default is to be used. Definition at line 44 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::decompress | ( | $ | source | ) | [virtual] |
Decompress the $source string containing compressed data and return it as a string.
Implements eZCompressionHandler.
Definition at line 125 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::doClose | ( | ) | [virtual] |
Does the actual file closing.
Implements eZFileHandler.
Definition at line 67 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::doEOF | ( | ) | [virtual] |
Does the actual file eof detection.
Implements eZFileHandler.
Definition at line 110 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::doFlush | ( | ) | [virtual] |
Does the actual file flushing.
Implements eZFileHandler.
Definition at line 82 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::doOpen | ( | $ | filename, |
| $ | mode | ||
| ) | [virtual] |
Does the actual file opening.
Implements eZFileHandler.
Definition at line 62 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::doPasstrough | ( | $ | closeFile = true | ) | [virtual] |
Does the actual file passtrough.
Implements eZFileHandler.
Definition at line 115 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::doRead | ( | $ | length = false | ) | [virtual] |
Does the actual file reading.
Implements eZFileHandler.
Definition at line 72 of file ezgzipshellcompressionhandler.php.
Does the actual file rewind.
Reimplemented from eZFileHandler.
Definition at line 100 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::doSeek | ( | $ | offset, |
| $ | whence | ||
| ) | [virtual] |
Does the actual file seek.
Implements eZFileHandler.
Definition at line 87 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::doTell | ( | ) | [virtual] |
Does the actual file telling.
Implements eZFileHandler.
Definition at line 105 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::doWrite | ( | $ | data, |
| $ | length = false |
||
| ) | [virtual] |
Does the actual file writing.
Implements eZFileHandler.
Definition at line 77 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::errorNumber | ( | ) | [virtual] |
Implements eZFileHandler.
Definition at line 135 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::errorString | ( | ) | [virtual] |
Implements eZFileHandler.
Definition at line 130 of file ezgzipshellcompressionhandler.php.
Definition at line 23 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::gunzipFile | ( | $ | filename | ) |
Definition at line 57 of file ezgzipshellcompressionhandler.php.
| static eZGZIPShellCompressionHandler::isAvailable | ( | ) | [static] |
Reimplemented from eZFileHandler.
Definition at line 52 of file ezgzipshellcompressionhandler.php.
Referenced by eZGZIPCompressionHandler\eZGZIPCompressionHandler().
Sets the current compression level.
Definition at line 33 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::$File |
File pointer, returned by gzopen.
Definition at line 142 of file ezgzipshellcompressionhandler.php.
| eZGZIPShellCompressionHandler::$Level |
The compression level.
Definition at line 144 of file ezgzipshellcompressionhandler.php.