JHtmlAccess::level
From Joomla! Documentation
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.
JHtmlAccess::level[edit]
Description[edit]
Displays a list of the available access view levels.
Template:Description:JHtmlAccess::level [Edit Descripton]
Synopsis[edit]
public static JHtmlAccess::level ($name, $selected, $attribs= '', $params=true, $id=false)
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. | |
$params | mixed | true | True to add "All Sections" option or and array of option |
$id | string | false | The form field id |
Returns[edit]
string The required HTML for the SELECT tag.
Defined in[edit]
libraries/joomla/html/html/access.php (line 39)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JHtmlAccess::level
Examples[edit]
<CodeExamplesForm />