Path

ez components / documentation / api reference / 2009.2.1 / mvctools


eZ Components 2009.2.1

MvcTools: ezcMvcGzipResponseFilter

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcMvcGzipResponseFilter

Response filter that gzip's the contents. [source]

Implemented Interfaces

Method Summary

public void filterResponse( $response )
This function filters the $response by gzip-encoding it.
public void setOptions( $options )
Should not be called with any options, as this filter doesn't support any.

Methods

filterResponse

void filterResponse( ezcMvcResponse $response )
This function filters the $response by gzip-encoding it.

Parameters

Name Type Description
$response ezcMvcResponse  

setOptions

void setOptions( $options )
Should not be called with any options, as this filter doesn't support any.

Parameters

Name Type Description
$options array  

Throws

ClassDescription
ezcMvcFilterHasNoOptionsException if the $options array is not empty.

Last updated: Tue, 23 Mar 2010