Class JHtmlRules

Description

Extended Utility class for all HTML drawing classes.

  • abstract:
  • since: 11.1

Located in /libraries/joomla/html/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 method assetFormWidget (line 37)

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 method _getImagesArray (line 209)

Get the array of images associate with specific permissions

  • return: An associative array of permissions and images
  • since: 11.1
  • access: protected
static array _getImagesArray ()
static method _getParentAssetId (line 147)

Get the id of the parent asset

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

Get the user groups

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

Documentation generated on Mon, 25 Jun 2012 13:59:21 -0500 by phpDocumentor 1.4.4