Class patTemplate_OutputFilter_Gzip

Description

patTemplate GZip output filter

$Id: Gzip.php,v 1.4 2004/04/01 20:18:24 schst Exp $

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

Located in /includes/patTemplate/patTemplate/OutputFilter/Gzip.php (line 27)

patTemplate_Module
   |
   --patTemplate_OutputFilter
      |
      --patTemplate_OutputFilter_Gzip
Variable Summary
string $_name
Method Summary
string apply (string $data)
string _gfc (integer $value)
Variables
string $_name = 'Gzip' (line 39)

filter name

This has to be set in the final filter classes.

  • abstract:
  • access: protected

Redefinition of:
patTemplate_Module::$_name
module name

Inherited Variables

Inherited from patTemplate_Module

patTemplate_Module::$_params
Methods
apply (line 48)

compress the data

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

Redefinition of:
patTemplate_OutputFilter::apply()
apply the filter
_gfc (line 87)

get value as hex-string

  • return: converted string
  • access: public
string _gfc (integer $value)
  • integer $value: value to convert

Inherited Methods

Inherited From patTemplate_OutputFilter

patTemplate_OutputFilter::apply()

Inherited From patTemplate_Module

patTemplate_Module::getName()
patTemplate_Module::getParam()
patTemplate_Module::setParams()

Documentation generated on Fri, 4 Mar 2005 13:56:20 +1000 by phpDocumentor 1.3.0RC3