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.

Inserts a new element right before the other element (Previous) Checks whether the form element type is supported (Next)
Last updated: Fri, 19 Dec 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.