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

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

PEAR_Validate::getFailures()

PEAR_Validate::getFailures()  -- getFailures

説明

直近の検証で記録された失敗の一覧を返します。結果は次のような形式になります。


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

例外・エラー

例外はスローされません。

注意

この関数は、スタティックにコールする ことはできません。

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

Download Documentation Last updated: Sun, 05 Oct 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.