HTML_QuickForm_password::setMaxlength()

HTML_QuickForm_password::setMaxlength()

HTML_QuickForm_password::setMaxlength() -- Sets maxlength of password element

Synopsis

require_once 'HTML/QuickForm/password.php';

void HTML_QuickForm_password::setMaxlength (string $maxlength)

Description

This is just a shortcut for
$element->updateAttributes(array('maxlength' => $maxlength));

Parameter

string $maxlength

Maximum length of password field

Throws

throws no exceptions thrown

Note

since 1.0

This function can not be called statically.