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
)
Описание
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
Return value
return whether $value
is an error
Throws
throws no exceptions thrown
Замечание
This function can be called statically.