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 )

Описание

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

Замечание

since 1.0

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ