Contents |
The VF_SelectGroup class
Introduction
This class creates a optiongroup element inside a select list. This class is for internal use only. Use VF_Select→addGroup to add a optiongroup to the current select list.
Class synopsis
VF_SelectGroup {
void __construct($label)
object addField(string $value, string $label[, bool $selected])
string toHtml([string $value])
}
Table of Contents
VF_SelectGroup→construct — Creates a new VF_SelectGroup object
VF_SelectGroup→addField — Add a new option element to the current select group
VF_SelectGroup→toHtml — Generates the HTML code for this select group and the option elements inside it.

