sfDoctrineUniqueValidator validates that the value does not already exists
Method Summary
-
execute(&$value, &$error, $value, $error)
-
bool
initialize((sfContext) $context, $parameters = null)
Initialize this validator.
Methods inherited from sfValidator
execute , getContext , getParameter , getParameterHolder , hasParameter , initialize , setParameter , __construct
Method Details
-
execute (&$value, &$error, $value, $error)
Browse code
| &$value |
|
| &$error |
|
| $value |
|
| $error |
|
-
(bool) initialize ((sfContext) $context, $parameters = null)
Browse code
| $context |
The current application context.
|
| $parameters |
An associative array of initialization parameters.
|
Initialize this validator.
returns true, if initialization completes successfully, otherwise false.
|