Class

eZRegExpValidator

class eZRegExpValidator extends eZInputValidator

Constants

STATE_ACCEPTED

STATE_INTERMEDIATE

STATE_INVALID

Properties

$RegExpRule

Methods

validate($text)

fixup($text)

__construct(string $rule = null)

Constructor

setRegExpRule($rule)

Details

at line 34
public validate($text)

Parameters

$text

at line 47
public fixup($text)

Parameters

$text

at line 24
public __construct(string $rule = null)

Constructor

Parameters

string $rule

at line 29
public setRegExpRule($rule)

Parameters

$rule