Method |
Description |
|
canAlwaysRun ( ) : boolean |
TODO: Docblock |
|
getMessage ( ) : string |
Gets the failure message for this rule |
|
getMessageParameters ( ) : string[] |
Returns a list of tokens that will be injected into the message before it is returned from getMessage |
|
getParameter ( ) : mixed |
Returns the value of the set parameter. |
|
setMessage ( string $message ) |
Sets the failure message for this rule |
|
setParameter ( mixed $params ) |
Sets the parameter for this validation rule. |
|
validate ( mixed $value, string $field = null, array $allFields = null ) : boolean | Fuel\Validation\ResultInterface |
Performs validation on the given value. |
|