Class JHtmlAccess

Description

Extended Utility class for all HTML drawing classes.

  • abstract:
  • since: 11.1

Located in /libraries/joomla/html/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 assetgrouplist (string $name, mixed $selected, [string $attribs = null], [array $config = array()])
static mixed assetgroups ([array $config = array()])
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: 11.1
  • access: protected
Methods
static method actions (line 221)

Returns a UL list of actions with check boxes

  • see: JAccess
  • since: 11.1
  • 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 method assetgrouplist (line 301)

Displays a Select list of the available asset groups

  • return: An HTML string or null if an error occurs
  • since: 11.1
  • access: public
static mixed assetgrouplist (string $name, mixed $selected, [string $attribs = null], [array $config = array()])
  • string $name: The name of the select element
  • mixed $selected: The selected asset group id
  • string $attribs: Optional attributes for the select field
  • array $config: An array of options for the control
static method assetgroups (line 263)

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

  • return: An array or false if an error occurs
  • since: 11.1
  • access: public
static mixed assetgroups ([array $config = array()])
  • array $config: An array of options for the options
static method level (line 44)

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 method usergroup (line 103)

Displays a list of the available user groups.

  • return: The required HTML for the SELECT tag.
  • see: JFormFieldUsergroup
  • since: 11.1
  • 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 method usergroups (line 147)

Returns a UL list of user groups with check boxes

  • since: 11.1
  • 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 Mon, 25 Jun 2012 13:52:03 -0500 by phpDocumentor 1.4.4