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

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Plain HTML

PEAR_Validate::getFailures()

PEAR_Validate::getFailures()  -- getFailures

Leírás

Returns a list of failures recorded by the last validation attempt. The list is in format:


<?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'),
        )
);
?>

Lehetséges hibaértékek

throws no exceptions thrown

Megjegyzés

Ez a függvény nem hívható statikusan.

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

Download Documentation Last updated: Sun, 01 Jul 2007
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.