API17

Difference between revisions of "JHtmlAccess::level"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JHtmlAccess::level/11.1 to API17:JHtmlAccess::level without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 18:37, 10 May 2013

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::level[edit]

Description[edit]

Displays a list of the available access view levels.

Template: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[edit]

Template:SeeAlso:JHtmlAccess::level [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />