symfony API

sfDoctrineUniqueValidator Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.3 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.3 version. Switch to:

sfDoctrineUniqueValidator validates that the value does not already exists

Inheritence

sfDoctrineUniqueValidator  <  sfValidator

Method Summary

  • void execute($value, $error)
    execute
  • bool initialize(, )
    Initialize this validator.

Methods inherited from sfValidator

execute , getContext , getParameter , getParameterHolder , hasParameter , initialize , setParameter , __construct

Method Details

  • (void) execute ($value, $error) Browse code

    execute

  • (bool) initialize (, ) Browse code

    Initialize this validator.

    returns true, if initialization completes successfully, otherwise false.