symfony API

sfRegexValidator Class

« Back to API menu

1.1 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.1 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.

sfRegexValidator allows you to match a value against a regular expression

Inheritence

sfRegexValidator  <  sfValidator

Method Summary

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

Methods inherited from sfValidator

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

Method Details

  • (bool) execute (, ) Browse code

    Executes this validator.

    returns true, if this validator executes successfully, otherwise false

  • (bool) initialize (, ) Browse code

    Initializes this validator.

    returns true, if initialization completes successfully, otherwise false

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.