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 )

Description

This is just a shortcut for

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

Parameter

string $maxlength

Maximum length of password field

Throws

throws no exceptions thrown

Note

since 1.0

This function can not be called statically.

Class constructor (Previous) Sets size of password element (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.