previousconstructor HTML_QuickForm_text (Previous) (Next) HTML_QuickForm_text::setSize()next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_QuickForm_text::setMaxlength()

HTML_QuickForm_text::setMaxlength() – Définit la longueur maximale pour un champs texte

Synopsis

require_once 'HTML/QuickForm/text.php';

void HTML_QuickForm_text::setMaxlength ( string $maxlength )

Description

Ceci est un raccourci pour

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

Parameter

string $maxlength

Longueur maximale pour un champs texte

Throws

No exceptions thrown.

Note

Disponible depuis la version 1.3.

This function can not be called statically.

previousconstructor HTML_QuickForm_text (Previous) (Next) HTML_QuickForm_text::setSize()next

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.