Actions

API17

JHtmlRules::assetFormWidget

From Joomla! Documentation

Revision as of 17:44, 20 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
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.

Joomla 11.1 JHtmlRules::assetFormWidget

Description

Displays a list of the available access sections.

Description:JHtmlRules::assetFormWidget [Edit Descripton]

Synopsis

public static JHtmlRules::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 in

libraries/joomla/html/html/rules.php

Referenced by

See also

[Edit See Also]

SeeAlso:JHtmlRules::assetFormWidget

Examples

<CodeExamplesForm />