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 )

Description

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

Note

This function can be called statically.