|
XoopsFormElement | --XoopsFormSelectClasses extended from XoopsFormSelect:
Located in File: Program_Root/class/xoopsform/formselect.php
copyright (c) 2000-2003 XOOPS.orgKazumi Ono <onokazu@xoops.org>
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|
Inherited From Class XoopsFormElement
|
| void | XoopsFormSelect( string $caption, string $name, [mixed $value = null], [int $size = 1], [bool $multiple = false]) |
- string $caption: Caption- string $name: "name" attribute- mixed $value: Pre-selected value (or array of them).- int $size: Number or rows. "1" makes a drop-down-list- bool $multiple: Allow multiple selections?[ Top ]
| void | addOption( string $value, string $name) |
- string $value: "value" attribute- string $name: "name" attribute[ Top ]
| void | addOptionArray( array $options) |
- array $options: Associative array of value->name pairs[ Top ]
| array | getOptions( ) |
Associative array of value->name pairs[ Top ]
| int | getSize( ) |
[ Top ]
| array | getValue( ) |
[ Top ]
| bool | isMultiple( ) |
[ Top ]
| string | render( ) |
Overrides XoopsFormElement::render() (Generate output for the form element.)
Prepare HTML for outputHTML[ Top ]