Creates the HTML for the permissions widget
static string
assetFormWidget
(array $actions, [integer $assetId = null], [integer $parent = null], [string $control = 'jform[rules]'], [string $idPrefix = 'jform_rules'])
-
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
Get the array of images associate with specific permissions
static array
_getImagesArray
()
Get the id of the parent asset
static integer
_getParentAssetId
(integer $assetId)
-
integer
$assetId: The asset for which the parentid will be returned
Get the user groups
static array
_getUserGroups
()