Support Joomla!

Packages

Package: patTemplate

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class patTemplate_OutputFilter_Gzip

Description

patTemplate GZip output filter

$Id: Gzip.php 10381 2008-06-01 03:35:53Z pasamio $

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 Sat, 14 Nov 2009 11:14:19 +0000 by phpDocumentor 1.3.1