API17:JHtmlAccess::level
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JHtmlAccess::level
Description
Displays a list of the available access view levels.
Description:JHtmlAccess::level [Edit Descripton]
public static function 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 options |
| $id | string | false | The form field id |
- Returns string The required HTML for the SELECT tag.
- Defined on line 39 of libraries/joomla/html/html/access.php
See also
-
JHtmlAccess::level source code on BitBucket
-
Class JHtmlAccess
-
Subpackage Html
- Other versions of JHtmlAccess::level
SeeAlso:JHtmlAccess::level [Edit See Also]
User contributed notes
<CodeExamplesForm />
