This class contains compression functions for the TYPO3 Frontend. It can be used only in EXT:frontend/Classes/Http/RequestHandler.php
Definition at line 21 of file CompressionUtility.php.
compressionOutputHandler |
( |
|
$outputBuffer, |
|
|
|
$mode |
|
) |
| |
Corrects HTTP "Content-length" header if it was sent by TYPO3 and compression is enabled.
- Parameters
-
string | $outputBuffer | Output buffer to compress |
int | $mode | One of PHP_OUTPUT_HANDLER_xxx constants |
- Returns
- string Compressed string
- See Also
- ob_start()
-
ob_gzhandler()
Definition at line 42 of file CompressionUtility.php.