HTML_QuickForm_select::setMultiple()

HTML_QuickForm_select::setMultiple() – Sets the select mutiple attribute

Synopsis

require_once 'HTML/QuickForm/select.php';

void HTML_QuickForm_select::setMultiple ( bool $multiple )

Description

This method just adds or removes the multiple attribute of select depending on $multiple value.

Parameter

boolean $multiple

Whether the select supports multi-selections

Throws

throws no exceptions thrown

See

see getMultiple().

Note

since 1.2

This function can not be called statically.