Login   Register  
PHP Classes
elePHPant
Icontem

Output Filter

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Fabian Schmengler
Name: Fabian Schmengler is available for providing paid consulting. Contact Fabian Schmengler .
Packages: 5 Browse all classes by Fabian Schmengler Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 30
All time rank: 116578 in Germany Germany
Week rank: 688 Up31 in Germany Germany Up
Innovation award
Innovation award
Nominee: 4x


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Fabian Schmengler  >  Output Filter  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Output Filter
Base name: outputfilter
Description: Filter scalars, arrays, data objects recursively
Version: 1.0.1
PHP version: 5.2.5
License: BSD License
All time users: 421 users
All time rank: 5396
Week users: 0 users
Week rank: 2071 Equal
 
  Groups   Freshmeat project   Rate classes User ratings  
  Dependencies   Applications   Related links   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes
Group folder image Validation Validation algorithms View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
July 2010
Number 5

Prize: One book of choice by Packt
Data filtering is often used to prevent security problems related with receiving data in incorrect formats from the user or external systems.

This class provides a solution for performing filtering, not only to simple text or numeric values, but also to complex array or object structures.

Manuel Lemos

  Freshmeat project  
Project record: outputfilter
Popularity score: 24.62
Vitality score: 2.04

  User ratings  
There are not enough user ratings to display for this class.

  Packages needed by this class  
Class Dependency Why it is needed
Typesafe Enum
Required
Enumeration data type

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
github.com Latest version at github

  Files folder image Files  
File Role Description
Files folder imageexample (2 files)
Files folder imageFilters (4 files)
Files folder imageIntegrations (2 directories)
Files folder imagetest (3 files)
Plain text file changelog.txt Doc. Changelog
Plain text file license.txt Lic. BSD License
Accessible without login Plain text file readme.txt Doc. Full documentation
Plain text file outputfilter.lib.php Aux. library loader, include this file to use the package
Plain text file OutputFilterWrapper.php Class Main class
Plain text file OutputFilterWrapperBehaviour.php Class filter behaviour on scalars
Plain text file OutputFilterWrapperChain.php Class class for nested wrappers
Plain text file OutputFilterWrapperConstraints.php Class filter constraints
Plain text file OutputFilterWrapperInterface.php Class interface
Plain text file FilteredAbstract.php Class abstract class for filtered variables
Plain text file FilteredArray.php Class class for filtered arrays
Plain text file FilteredArrayObject.php Class class for filtered objects with ArrayAccess
Plain text file FilteredIterator.php Class abstract class for filtered iterators
Plain text file FilteredObject.php Class class for filtered objects
Plain text file FilteredScalar.php Class class for filtered scalars

  Files  /  Files folder image example  
File Role Description
  Plain text file data.example.php Example data for filter.example.php
  Accessible without login Plain text file filter.example.php Example executable example

  Files  /  Files folder image Filters  
File Role Description
  Plain text file FilterChain.php Class filter that combines multiple filters
  Plain text file HtmlEntitiesFilter.php Class htmlentities() filter
  Plain text file Nl2BrFilter.php Class nl2br() filter
  Plain text file NullFilter.php Class dummy filter

  Files  /  Files folder image Integrations  
File Role Description
Files folder imageSmarty (1 file)
Files folder imageZendView (1 file)

  Files  /  Integrations  /  Files folder image Smarty  
File Role Description
  Plain text file prefilter.wrapper.php Aux. Smarty plugin

  Files  /  Integrations  /  Files folder image ZendView  
File Role Description
  Plain text file FilteredZendView.php Class Zend_View extension

  Files  /  Files folder image test  
File Role Description
  Plain text file OutputFilterTestSuite.php Test PHPUnit test suite
  Plain text file OutputFilterWrapperConstraintsTest.php Test PHPUnit test case
  Plain text file OutputFilterWrapperTest.php Test PHPUnit test case

Download all files: outputfilter.tar.gz outputfilter.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.