Parameters
arr
An array of associative arrays or objects,
normally an array of objects created using
select.option
name List name
attribs Additional list attributes
[key]
The value key in the associative arrays or
objects, normally value
[text]
The text key in the associative arrays or objects,
normally text
[selected]
Key value of the currently selected option;
default is null
[idtag] List ID, default is null
[translate] Translate text using JText; default is false
Returns Selectable list of options
Integerlist
Gets a selectable list of numbers.
Parameters start Start value
end Maximum value
inc Increment value, normally 1
name List name
[attribs] Additional list attributes
[selected]
Key value of the currently selected option;
default is null
[format]
sprintf() format to apply to the text, for
example, Number %d
Returns Selectable list of numeric options
Chapter 8
[ 211 ]
Optgroup
Gets an object that represents an option group.
Parameters text Group name
[value_name] Name of the value attribute; default is value
[text_name] Name of the text attribute; default is text
Returns Object with two attributes??”a value and a text name
Option
Gets an object that represents a single selectable option.
Pages:
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293