HTML_QuickForm_text::setMaxlength() -- Sets maxlength of text field
Synopsis
require_once 'HTML/QuickForm/text.php'; |
void HTML_QuickForm_text::setMaxlength
(string $maxlength)
Описание
This is just a shortcut for
$element->updateAttributes(array('maxlength' => $maxlength)); |
Параметр
- string
$maxlength
Maximum length of text field
Throws
throws no exceptions thrown
Заметка
since 1.3
Эта функция не должна вызываться статически.
HIVE: All information for read only. Please respect copyright! |