Abstract Class JHtmlRules

Description

Extended Utility class for all HTML drawing classes.

  • abstract:
  • since: 1.6

Located in /libraries/cms/html/rules.php (line 19)


	
			
Method Summary
 static string assetFormWidget (array $actions, [integer $assetId = null], [integer $parent = null], [string $control = 'jform[rules]'], [string $idPrefix = 'jform_rules'])
 static array _getImagesArray ()
 static integer _getParentAssetId (integer $assetId)
 static array _getUserGroups ()
Methods
static assetFormWidget (line 36)

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
static _getImagesArray (line 213)

Get the array of images associate with specific permissions

  • return: An associative array of permissions and images
  • since: 1.6
  • access: protected
static array _getImagesArray ()
static _getParentAssetId (line 148)

Get the id of the parent asset

  • return: The id of the parent asset
  • since: 1.6
  • access: protected
static integer _getParentAssetId (integer $assetId)
  • integer $assetId: The asset for which the parentid will be returned
static _getUserGroups (line 170)

Get the user groups

  • return: Array of user groups
  • since: 1.6
  • access: protected
static array _getUserGroups ()

Documentation generated on Tue, 19 Nov 2013 15:12:33 +0100 by phpDocumentor 1.4.3