JHtmlRules

Extended Utility class for all HTML drawing classes.

abstract deprecated
since

1.6

deprecated

4.0

package

Joomla.Libraries

Methods

_getImagesArray

Get the array of images associate with specific permissions

_getImagesArray() : array
static deprecated
since

1.6

deprecated

4.0

Response

arrayAn associative array of permissions and images

_getParentAssetId

Get the id of the parent asset

_getParentAssetId(integer $assetId) : integer
static deprecated
since

1.6

deprecated

4.0

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 deprecated
since

1.6

deprecated

4.0

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 deprecated
see \JAccess \JFormFieldRules
since

1.6

deprecated

4.0

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