Filter class

Basic filter class.

Class Overview

Basic filter class.

Public Methods

init()

Default initializer for the Filter.

This is a do-nothing stub that is used as a fallback for Filters not specifying a init() method of their own.

filter($value)

The filter() method should perform a transformation on the passed parameter and return its result.

This methods throws an exception and should be overridden in classes extending Filter.

Parameters

$value

The value to filter.

Return value

The filtered value.

Inheritance

Base Classes

Inherited members