Parameters value Option value
[text] Option name
[value_name] Name of the value attribute; default is value
[text_name] Name of the value attribute; default is text
[disabled] Option is disabled; default is false
Returns Object with two attributes??”a value and a text name
Options
Gets an XHTML string of select list options based on the passed array of associative arrays
or objects.
Parameters
arr
An array of associative arrays or objects,
normally an array of objects created using
select.option
[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
[translate] Translate text using JText; default is false
Returns XHTML String of options
Rendering Output
[ 212 ]
Radiolist
Gets a radio button selection list.
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; default is value
[text]
The text key in the associative arrays or objects;
default is 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 Radio button options
Building Component HTML Layouts (Templates)
When we think of templates we normally envisage site templates detailing
precisely what our website is going to look like.
Pages:
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294