__construct() __construct(array $params = array()) Constructor. Parameters array $params Any parameters that the filter instance needs.
preProcess() preProcess(string $text) : string Executes any code necessaray before applying the filter patterns. Parameters string $text The text before the filtering. Returns string — The modified text.
getPatterns() getPatterns() : array Returns a hash with replace patterns. Returns array — Patterns hash.
postProcess() postProcess(string $text) : string Executes any code necessary after applying the filter patterns. Parameters string $text The text after the filtering. Returns string — The modified text.