API17

JHtmlAccess::usergroup

From Joomla! Documentation

Revision as of 03:10, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JHtmlAccess::usergroup[edit]

Description[edit]

Displays a list of the available user groups.


public static function usergroup (
        $name
        $selected
        $attribs= ''
        $allowAll=true
)
Parameter Type Default Description
$name string The form field name.
$selected string The name of the selected section.
$attribs string Additional attributes to add to the select field.
$allowAll boolean true True to add "All Groups" option.
  • Returns string The required HTML for the SELECT tag.
  • Defined on line 87 of libraries/joomla/html/html/access.php

See also[edit]


User contributed notes[edit]

Code Examples[edit]