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 :

<?php
$element
->updateAttributes(array('maxlength' => $maxlength));
?>

Parameter

string $maxlength

Longueur maximale pour le champs password

Throws

No exceptions thrown.

Note

Disponible depuis la version 1.0.

This function can not be called statically.