Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: patTemplate

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class patTemplate_OutputFilter_Gzip

Description

patTemplate GZip output filter

$Id: Gzip.php 359 2005-02-18 19:01:54Z schst $

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

Located in /pattemplate/patTemplate/OutputFilter/Gzip.php (line 30)

Abstract class patTemplate_Module

Abstract class patTemplate_OutputFilter
   
   Class patTemplate_OutputFilter_Gzip   (Subpackage Filters)
Variable Summary
Variable string $_name
Method Summary
Method string apply (string $data)
Method string _gfc (integer $value)
Variables
string $_name = 'Gzip' (line 42)

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

Variable patTemplate_Module::$_params
Methods
apply (line 51)

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 96)

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 Mon, 05 Mar 2007 21:05:18 +0000 by phpDocumentor 1.3.1