HTML_QuickForm::setElementError()

HTML_QuickForm::setElementError() -- Set error message for a form element

Synopsis

require_once 'HTML/QuickForm.php';

void HTML_QuickForm::setElementError (string $element, string $message)

Описание

Set error message for a form element. Errors are usually assigned to elements by validate() method. Use this if you need to explicitly set error message for an element.

Параметр

string $element

Name of form element to set error for

string $message

Error message

Throws

throws no exceptions thrown

Заметка

since 1.0

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ