API17:JHtmlRules::assetFormWidget
From Joomla! Documentation
JHtmlRules::assetFormWidget
Description
Displays a list of the available access sections.
public static function assetFormWidget (
$actions
$assetId=null
$parent=null
$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
JHtmlRules::assetFormWidget source code on BitBucket
Class JHtmlRules
Subpackage Html- Other versions of JHtmlRules::assetFormWidget
User contributed notes
Code Examples