PHP Class DMS\Filter\Filters\RegExp

Filter using preg_replace and unicode or non-unicode patterns
Inheritance: extends BaseFilter
Mostra file Open project: rdohms/dms-filter Class Usage Examples

Protected Properties

Property Type Description
$unicodeEnabled boolean Defines if Unicode is supported

Public Methods

Method Description
apply ( Rule $rule, $value ) {@inheritDoc}
checkUnicodeSupport ( ) : boolean Verifies that Regular Expression functions support unicode

Method Details

apply() public method

{@inheritDoc}
public apply ( Rule $rule, $value )
$rule DMS\Filter\Rules\Rule

checkUnicodeSupport() public method

Verifies that Regular Expression functions support unicode
public checkUnicodeSupport ( ) : boolean
return boolean

Property Details

$unicodeEnabled protected_oe static_oe property

Defines if Unicode is supported
protected static bool $unicodeEnabled
return boolean