Property | Type | Description | |
---|---|---|---|
$_params | array | Filter parameters. |
Method | Description | |
---|---|---|
__construct ( array $params = [] ) | Constructor. | |
getPatterns ( ) : array | Returns a hash with replace patterns. | |
postProcess ( string $text ) : string | Executes any code necessaray after applying the filter patterns. | |
preProcess ( string $text ) : string | Executes any code necessaray before applying the filter patterns. |
public __construct ( array $params = [] ) | ||
$params | array | Any parameters that the filter instance needs. |
public getPatterns ( ) : array | ||
return | array | Patterns hash. |
public postProcess ( string $text ) : string | ||
$text | string | The text after the filtering. |
return | string | The modified text. |
public preProcess ( string $text ) : string | ||
$text | string | The text before the filtering. |
return | string | The modified text. |