[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/vendor/propel/validator/ -> MaxLengthValidator.php (sommaire)

(pas de description)

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

Définit 1 class

MaxLengthValidator:: (1 méthode):
  isValid()


Classe: MaxLengthValidator  - X-Ref

A validator for maximum string length.

Below is an example usage for your Propel xml schema file.

Note that if you have specified the size attribute in the column tag
you do not have to specify it as value in the validator rule again as
this is done automatically.

<code>
<column name="username" type="VARCHAR" size="25" required="true" />

<validator column="username">
<rule name="maxLength" message="Passwort must be at least ${value} characters !" />
</validator>
</code>

isValid(ValidatorMap $map, $str)   X-Ref
Pas de description



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