symfony API

sfPropelUniqueValidator Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu

1.2 API OpenSearch


You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfPropelUniqueValidator validates that the uniqueness of a column.


sfPropelUniqueValidator  <  sfValidator

Method Summary

  • execute(&amp;$value, &amp;$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) Browse code


  • (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.