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
arrayAn associative array of permissions and images
_getParentAssetId
Get the id of the parent asset
_getParentAssetId(integer $assetId) : integer
static
| since |
11.1 |
|---|
Arguments
- $assetId
integerThe asset for which the parentid will be returned
Response
integerThe id of the parent asset
_getUserGroups
Get the user groups
_getUserGroups() : array
static
| since |
11.1 |
|---|
Response
arrayArray 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
arrayArray of action objects- $assetId
integerId of a specific asset to create a widget for.- $parent
integerId of the parent of the asset- $control
stringThe form control- $idPrefix
stringPrefix for the ids assigned to specific action-group pairs
Response
stringHTML for the permissions widget