PEAR_Validate::_addWarning (Previous) (Next) PEAR_Validate::getValidStates

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Plain HTML

PEAR_Validate::getFailures()

PEAR_Validate::getFailures()  -- getFailures

Description

Retourne une liste d'échecs enregistrés par la dernière validation. La liste est dans le format suivant :


<?php
array(
    'error' =>
        array(
            array('field' => 'name''name must contain only letters, numbers or underscore'),
        ),
    'warning' =>
        array(
            array('field' => 'version''version should be less than 2.0'),
        )
);
?>

Valeurs renvoyées

Aucune exception n'est lancée.

Note

Cette fonction ne peut pas être appelée de façon statique.

PEAR_Validate::_addWarning (Previous) (Next) PEAR_Validate::getValidStates

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.