Solar_Filter::getFilter()

public Solar_Filter_Abstract Solar_Filter::getFilter ( string $method )

Gets the stored filter object by method name.

Parameters

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

Returns

  • (Solar_Filter_Abstract) The stored filter object.

Description

Gets the stored filter object by method name.

Creates the filter object if it does not already exist.



Local