class JHtmlRules

Extended Utility class for all HTML drawing classes.

Methods

static  string
assetFormWidget( array $actions, integer $assetId = null, integer $parent = null, string $control = 'jform[rules]', string $idPrefix = 'jform_rules')

Creates the HTML for the permissions widget

Details

static string assetFormWidget( array $actions, integer $assetId = null, integer $parent = null, string $control = 'jform[rules]', string $idPrefix = 'jform_rules')

Creates the HTML for the permissions widget

Parameters

array $actions Array of action objects
integer $assetId Id of a specific asset to create a widget for.
integer $parent Id of the parent of the asset
string $control The form control
string $idPrefix Prefix for the ids assigned to specific action-group pairs

Return Value

string HTML for the permissions widget

See also

JAccess
JFormFieldRules