Abstract Class JHtmlAccess

Description

Extended Utility class for all HTML drawing classes.

  • abstract:
  • since: 1.6

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


	
			
Variable Summary
 static array $asset_groups
Method Summary
 static string actions (string $name, array $selected, string $component, [string $section = 'global'])
 static mixed assetgroups ()
 static string level (string $name, string $selected, [string $attribs = ''], [mixed $params = true], [string $id = false])
 static string usergroup (string $name, string $selected, [string $attribs = ''], [boolean $allowAll = true])
 static string usergroups (string $name, array $selected, [boolean $checkSuperAdmin = false])
Variables
static array $asset_groups = null (line 27)

A cached array of the asset groups

  • since: 1.6
  • access: protected
Methods
static actions (line 198)

Returns a UL list of actions with check boxes

  • see: JAccess
  • since: 1.6
  • access: public
static string actions (string $name, array $selected, string $component, [string $section = 'global'])
  • string $name: The name of the checkbox controls array
  • array $selected: An array of the checked boxes
  • string $component: The component the permissions apply to
  • string $section: The section (within a component) the permissions apply to
static assetgroups (line 242)

Gets a list of the asset groups as an array of JHtml compatible options.

  • return: An array or false if an error occurs
  • since: 1.6
  • access: public
static mixed assetgroups ()
static level (line 43)

Displays a list of the available access view levels

static string level (string $name, string $selected, [string $attribs = ''], [mixed $params = true], [string $id = false])
  • string $name: The form field name.
  • string $selected: The name of the selected section.
  • string $attribs: Additional attributes to add to the select field.
  • mixed $params: True to add "All Sections" option or and array of options
  • string $id: The form field id
static usergroup (line 93)

Displays a list of the available user groups.

  • return: The required HTML for the SELECT tag.
  • see: JFormFieldUsergroup
  • since: 1.6
  • access: public
static string usergroup (string $name, string $selected, [string $attribs = ''], [boolean $allowAll = true])
  • string $name: The form field name.
  • string $selected: The name of the selected section.
  • string $attribs: Additional attributes to add to the select field.
  • boolean $allowAll: True to add "All Groups" option.
static usergroups (line 130)

Returns a UL list of user groups with check boxes

  • since: 1.6
  • access: public
static string usergroups (string $name, array $selected, [boolean $checkSuperAdmin = false])
  • string $name: The name of the checkbox controls array
  • array $selected: An array of the checked boxes
  • boolean $checkSuperAdmin: If false only super admins can add to super admin groups

Documentation generated on Tue, 19 Nov 2013 14:53:16 +0100 by phpDocumentor 1.4.3