HTML_QuickForm_text::setSize()

HTML_QuickForm_text::setSize() – Sets size of text field

Synopsis

require_once 'HTML/QuickForm/text.php';

void HTML_QuickForm_text::setSize ( string $size )

Description

This is just a shortcut for

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

Parameter

string $size

Size of text field

Throws

throws no exceptions thrown

Note

since 1.3

This function can not be called statically.