Solar_Filter::newFilter()

public Solar_Filter_Abstract Solar_Filter::newFilter ( string $method )

Creates a new filter object by method name.

Parameters

  • (string) $method: The method name, e.g. 'sanitizeTrim'.

Returns

  • (Solar_Filter_Abstract) The new filter object.

Description

Creates a new filter object by method name.



Local