HTML_QuickForm::isError()

HTML_QuickForm::isError() -- Tells whether a result is an error

Synopsis

require_once 'HTML/QuickForm.php';

bool HTML_QuickForm::isError (mixed $value)

Beschreibung

Tells whether a result is an error (i.e. whether $value is an instance of HTML_QuickForm_Error).

Parameter

mixed $value

result of some QuickForm function

Rückgabewert

return whether $value is an error

Fehler-Meldungen

throws no exceptions thrown

Hinweise

Diese Methode kann statisch aufgerufen werden.