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)

Beschreibung

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

Parameter

string $maxlength

Maximum length of password field

Fehler-Meldungen

throws no exceptions thrown

Hinweise

since 1.0

Diese Methode kann nicht statisch aufgerufen werden.