$_injector
$_injector : \Horde_Injector
The injector.
A Horde_Injector:: based Horde_Text_Filter_Base:: factory.
Copyright 2010-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
create(string $driver, array $params = array()) : \Horde_Text_Filter_Base
Return the Horde_Text_Filter_Base:: instance.
string | $driver | Either a driver name, or the full class name to use. |
array | $params | A hash containing any additional configuration parameters a subclass might need. |
The singleton instance.
filter(string $text, mixed $filters = array(), mixed $params = array()) : string
Applies a set of patterns to a block of text.
string | $text | The text to filter. |
mixed | $filters | The list of filters (or a single filter). |
mixed | $params | The list of params to use with each filter. |
The transformed text.
_getDriver(string $driver, array $params) : array
Gets the driver/params for a given base Horde_Text_Filter driver.
string | $driver | Either a driver name, or the full class name to use. |
array | $params | A hash containing any additional configuration parameters a subclass might need. |
Driver as the first value, params list as the second.