HTML_QuickForm_password::setMaxlength()

HTML_QuickForm_password::setMaxlength() – password 要素の maxlength を設定する

Synopsis

require_once 'HTML/QuickForm/password.php';

void HTML_QuickForm_password::setMaxlength ( string $maxlength )

Description

これは、単に以下の処理と同じことをします。

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

Parameter

string $maxlength

password フィールドの最大長。

Throws

例外はスローされません。

Note

since 1.0

This function can not be called statically.