symfony API

sfCallbackValidator Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu

1.3 API OpenSearch


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

sfCallbackValidator allows you to use a custom callback function or method to


sfCallbackValidator  <  sfValidator

Method Summary

  • boolean execute(, )
    Executes this validator.
  • boolean initialize(, )
    Initializes this validator.

Methods inherited from sfValidator

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

Method Details

  • (boolean) execute (, ) Browse code

    Executes this validator.

    returns true, if this validator executes successfully, otherwise false

  • (boolean) initialize (, ) Browse code

    Initializes this validator.

    returns true, if initialization completes successfully, otherwise false