SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 274 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

' WHERE id = '.(int)$id;
$db =& JFactory::getDBO();
$db->setQuery($query);
$item = $db->loadObject();
echo JHTML::_('list.accesslevel', $item);
Assuming that the selected item has an attribute called access and it is 0 (Public),
the resultant selection list will appear like this:
The list types are generally used to implement a filter when viewing itemized data
or, as with list.accesslevel, for use when creating or modifying a single item. We
discuss how to use the list types to implement a filter later in this chapter.
Accesslevel
Gets a selection box of the legacy groups. The selected group will be the group identified in
the $row attribute, access. The resulting form control is named access.
Parameters row Object that includes the attribute access
Returns A selection box of the legacy groups
Rendering Output
[ 206 ]
Category
Gets a drop-down selection box of different categories related to a specific section. We
can use categories outside of the content component in order to maintain categories for a
different extension.


Pages:
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6