[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/addon/propel/validator/ -> sfPropelUniqueValidator.class.php (sommaire)

(pas de description)

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

Définit 1 class

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


Classe: sfPropelUniqueValidator  - X-Ref

sfPropelUniqueValidator validates that the uniqueness of a column.
This validator only works for single column primary key.

<b>Required parameters:</b>

# <b>class</b>        - [none]               - Propel class name.
# <b>column</b>       - [none]               - Propel column name.

<b>Optional parameters:</b>

# <b>unique_error</b> - [Uniqueness error]   - An error message to use when
the value for this column already
exists in the database.

execute(&$value, &$error)   X-Ref
Pas de description

initialize($context, $parameters = null)   X-Ref
Initialize 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