프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_params | array | Filter parameters. |
메소드 | 설명 | |
---|---|---|
__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 | ||
리턴 | array | Patterns hash. |
public postProcess ( string $text ) : string | ||
$text | string | The text after the filtering. |
리턴 | string | The modified text. |
public preProcess ( string $text ) : string | ||
$text | string | The text before the filtering. |
리턴 | string | The modified text. |