JHtmlRules
Extended Utility class for all HTML drawing classes.
abstract
package |
Joomla.Platform |
---|---|
subpackage |
HTML |
since |
11.1 |
Methods
_getImagesArray
Get the array of images associate with specific permissions
_getImagesArray() : array
static
since |
11.1 |
---|
Response
array
An associative array of permissions and images
_getParentAssetId
Get the id of the parent asset
_getParentAssetId(integer $assetId) : integer
static
since |
11.1 |
---|
Arguments
- $assetId
integer
The asset for which the parentid will be returned
Response
integer
The id of the parent asset
_getUserGroups
Get the user groups
_getUserGroups() : array
static
since |
11.1 |
---|
Response
array
Array of user groups
assetFormWidget
Creates the HTML for the permissions widget
assetFormWidget(array $actions, integer $assetId = null, integer $parent = null, string $control = 'jform[rules]', string $idPrefix = 'jform_rules') : string
static
since |
11.1 |
---|---|
see | \JAccess \JFormFieldRules |
Arguments
- $actions
array
Array of action objects- $assetId
integer
Id of a specific asset to create a widget for.- $parent
integer
Id of the parent of the asset- $control
string
The form control- $idPrefix
string
Prefix for the ids assigned to specific action-group pairs
Response
string
HTML for the permissions widget