Class patTemplate_OutputFilter_Zlib

Description

JDocument Zlib output filter

Checks the accept encoding of the browser and compresses the data before sending it to the client.

Located in /document/module/filter/zlib.php (line 25)

patTemplate_OutputFilter
   |
   --patTemplate_OutputFilter_Zlib
Variable Summary
 string $_name
Method Summary
 string apply (string $data)
 boolean _clientEncoding ()
Variables
string $_name = 'zlib' (line 37)

filter name

This has to be set in the final filter classes.

  • abstract:
  • access: protected
Methods
apply (line 46)

compress the data

  • return: compressed data
  • access: public
string apply (string $data)
  • string $data: data
_clientEncoding (line 89)

check, whether client supports compressed data

  • access: private
boolean _clientEncoding ()

Documentation generated on Sat, 4 Feb 2006 14:27:44 +0100 by phpDocumentor 1.3.0RC4