Zeta Components Manual :: Docs For Class ezcMvcRecodeResponseFilter
MvcTools::ezcMvcRecodeResponseFilter
Class ezcMvcRecodeResponseFilter
Response filter that converts the encoding of the body.
Source for this file: /MvcTools/src/response_filters/recode.php
Implements interfaces:
Version: | //autogentag// |
Method Summary
public void |
filterResponse(
$response
)
This function re-codes the response body from charset $fromEncoding to charset $toEncoding. |
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 re-codes the response body from charset $fromEncoding to charset $toEncoding.
Parameters:
Name | Type | Description |
---|---|---|
$response |
ezcMvcResponse |
Implementation of:
Method | Description |
---|---|
ezcMvcResponseFilter::filterResponse() |
Alters the response object. |
setOptions
void
setOptions(
$options
)
Should not be called with any options, as this filter doesn't support any.
Parameters:
Name | Type | Description |
---|---|---|
$options |
array |
Exceptions:
Type | Description |
---|---|
ezcMvcFilterHasNoOptionsException |
if the $options array is not empty. |
Implementation of:
Method | Description |
---|---|
ezcMvcResponseFilter::setOptions() |
Sets options on the filter object |
Documentation generated by phpDocumentor 1.4.3