HTML_QuickForm_text::setMaxlength()
HTML_QuickForm_text::setMaxlength() -- Sets maxlength of text field
概要
require_once 'HTML/QuickForm/text.php'; |
void HTML_QuickForm_text::setMaxlength (string $maxlength)
説明
This is just a shortcut for
<?php
$element->updateAttributes(array('maxlength' => $maxlength));
?>
|
パラメータ
- string
$maxlength
Maximum length of text field
例外・エラー
throws no exceptions thrown
注意
since 1.3
この関数は、スタティックにコールする
ことはできません。