HTML_QuickForm_password::setSize()

HTML_QuickForm_password::setSize()

HTML_QuickForm_password::setSize() -- Sets size of password element

Synopsis

require_once 'HTML/QuickForm/password.php';

void HTML_QuickForm_password::setSize (string $size)

Description

This is just a shortcut for
$element->updateAttributes(array('size' => $size));

Parameter

string $size

Size of password field

Throws

throws no exceptions thrown

Note

since 1.0

This function can not be called statically.