[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/validator/ -> sfRegexValidator.class.php (sommaire)

(pas de description)

Poids: 92 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

sfRegexValidator:: (2 méthodes):
  execute()
  initialize()


Classe: sfRegexValidator  - X-Ref

sfRegexValidator allows you to match a value against a regular expression
pattern.

<b>Required parameters:</b>

# <b>pattern</b> - [none] - A PCRE, preg_match() style regular expression
pattern.

<b>Optional parameters:</b>

# <b>match</b>       - [true]          - Indicates that the pattern must be
matched or must not match.
# <b>match_error</b> - [Invalid input] - An error message to use when the
input does not meet the regex
specifications.

execute(&$value, &$error)   X-Ref
Executes this validator.

param: string A parameter value
param: string An error message reference
return: bool true, if this validator executes successfully, otherwise false

initialize($context, $parameters = null)   X-Ref
Initializes this validator.

param: sfContext The current application context
param: array   An associative array of initialization parameters
return: bool true, if initialization completes successfully, otherwise false



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7