Output Filter

Package:
Output Filter
Summary:
Filter scalars, arrays, data objects recursively
Groups:
Data types, PHP 5, Validation
Author:
Fabian Schmengler
Description:
This package can be used to filter the values of scalars, arrays, data objects recursively.

It can take an arbitrary value and apply filtering operations implemented by separate filter classes.

Arrays and objects can be traversed recursively to filter all their member values.

Multiple filter objects can be arranged in a chain to perform several types of filtering operations.

Currently the package includes filter classes for encoding text as HTML with entities, convert new line characters to HTML line break tags, etc..

This package also provides wrappers to use the filters with the Zend Framework and Smarty template engine.


Powered by Gewgley