Manuel Pear

HTML_QuickForm_password::setMaxlength()

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

Synopsis

  1. <?php
  2. require_once 'HTML/QuickForm/password.php
  3. ?> 

void HTML_QuickForm_password::setMaxlength (string $maxlength)

Description

Ceci est un racourci pour :

  1. <?php
  2. $element->updateAttributes(array('maxlength' => $maxlength)  
  3. ?> 

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.


Remonter Remonter
L'éditeur javascript - CSS - Gentoo - Tutoriaux PHP - Tutoriels PHP - Bretagne - php - Moto - Kit graphique