JHtmlAccess::level
Displays a list of the available access view levels
Signature
public function level(string
$name,
[string
$selected = '',
[string
$attribs = '',
[mixed
$params = true,
[string
$id = false]]]] )
Parameters
-
$name
- The form field name.
-
$selected
- The name of the selected section.
-
$attribs
- Additional attributes to add to the select field.
-
$params
- True to add "All Sections" option or and array of options
-
$id
- The form field id
Returns
- string
- The required HTML for the SELECT tag.