Comments: on this page. Click to read or post your own.

/sapphire/forms/GroupedDropdownField.php

Description

Grouped dropdown, using <optgroup> tags.

$source parameter (from DropdownField) must be a two dimensional array. The first level of the array is used for the <optgroup>, and the second level are the <options> for each group.

Returns a <select> tag containing all the appropriate <option> tags, with <optgroup> tags around the <option> tags as required.

Classes
Class Description
GroupedDropdownField Grouped dropdown, using <optgroup> tags.
blog comments powered by Disqus

Documentation generated on Sun, 19 Oct 2008 06:41:40 +1300 by phpDocumentor 1.3.2