HTML_QuickForm_password::setMaxlength()

HTML_QuickForm_password::setMaxlength() -- Définit la longueur maximale pour l'élément password

Synopsis

require_once 'HTML/QuickForm/password.php';

void HTML_QuickForm_password::setMaxlength (string $maxlength)

Description

Ceci est un racourci pour :
$element->updateAttributes(array('maxlength' => $maxlength));

Paramètres

chaîne de caractères $maxlength

Longueur maximale pour le champs password

Valeurs renvoyées

Aucune exception n'est lancée.

Note

Disponible depuis la version 1.0.

Cette fonction ne peut pas être appelée de façon statique.