|
static | match ($name, $prompt=NULL) |
| A field should match the value of another validation field, for example to confirm passwords.
|
|
static | different ($name, $prompt=NULL) |
| A field should be different than another specified field.
|
|
static | integer ($min=NULL, $max=NULL, $prompt=NULL) |
| A field is an integer value, or matches an integer range.
|
|
static | decimal ($prompt=NULL) |
|
static | number ($prompt=NULL) |
|
static | is ($value, $prompt=NULL) |
|
static | isExactly ($value, $prompt=NULL) |
|
static | not ($value, $prompt=NULL) |
|
static | notExactly ($value, $prompt=NULL) |
|
static | contains ($value, $prompt=NULL) |
|
static | containsExactly ($value, $prompt=NULL) |
|
static | doesntContain ($value, $prompt=NULL) |
|
static | doesntContainExactly ($value, $prompt=NULL) |
|
static | minCount ($value, $prompt=NULL) |
|
static | maxCount ($value, $prompt=NULL) |
|
static | exactCount ($value, $prompt=NULL) |
|
static | email ($prompt=NULL) |
|
static | url ($prompt=NULL) |
|
static | regExp ($value, $prompt=NULL) |
|
static | custom ($name, $jsFunction) |
|
static | ajax (JsUtils $js, $name, $url, $params, $jsCallback, $method="post", $parameters=[]) |
|
- Author
- jc
- Version
- 1.001 Generates a JSON Rule for the validation of a field
Definition at line 11 of file Rule.php.