previousHTML_QuickForm_text::setMaxlength() (Previous) (Next) Class Summary HTML_QuickForm_textareanext

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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.

previousHTML_QuickForm_text::setMaxlength() (Previous) (Next) Class Summary HTML_QuickForm_textareanext

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.