Builder for HTML drop-down menus
Syntax:
// create instance. arguments are used to set attributes of select-tag $select = new html_select(array('name' => 'fieldname')); // add one option $select->add('Switzerland', 'CH'); // add multiple options $select->add(array('Switzerland','Germany'), array('CH','DE')); // generate pulldown with selection 'Switzerland' and return html-code // as second argument the same attributes available to instanciate can be used print $select->show('CH');
Located in /lib/Roundcube/html.php (line 595)
html | --html_select
Inherited from html
html::$attrib
html::$common_attrib
html::$containers
html::$content
html::$doctype
html::$lc_tags
Add a new option to this drop-down
Get HTML code for this object
Inherited From html
html::__construct()
html::a()
html::attrib_string()
html::br()
html::div()
html::doctype()
html::iframe()
html::img()
html::label()
html::p()
html::parse_attrib_string()
html::quote()
html::script()
html::show()
html::span()
html::tag()
Documentation generated on Fri, 03 May 2013 12:44:55 +0200 by phpDocumentor 1.4.4