HTML_QuickForm_password::setMaxlength()

HTML_QuickForm_password::setMaxlength() -- Sets maxlength of password element

概要

require_once 'HTML/QuickForm/password.php';

void HTML_QuickForm_password::setMaxlength (string $maxlength)

説明

This is just a shortcut for


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

パラメータ

string $maxlength

Maximum length of password field

例外・エラー

throws no exceptions thrown

注意

since 1.0

この関数は、スタティックにコールする ことはできません。