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.

Queries a database and loads the options from the results (Previous) Sets the default values of the select box (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.