From Joomla! Documentation

Revision as of 22:13, 24 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 JHtmlRules::assetFormWidget[edit]


Displays a list of the available access sections.

public static function assetFormWidget (
        $control= 'jform[rules]'
        $idPrefix= 'jform_rules'
Parameter Type Default Description
$actions string The form field name.
$assetId string null The name of the selected section.
$parent string null Additional attributes to add to the select field.
$control boolean 'jform[rules]' True to add "All Sections" option.
$idPrefix 'jform_rules'
  • Returns string The required HTML for the SELECT tag.
  • Defined on line 33 of libraries/joomla/html/html/rules.php

See also[edit]

User contributed notes[edit]

Code Examples[edit]