Returns a UL list of actions with check boxes
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
Displays a Select list of the available asset groups
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
Gets a list of the asset groups as an array of JHtml compatible options.
static
mixed
assetgroups
([array $config = array()])
-
array
$config: An array of options for the options
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
Displays a list of the available user groups.
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.
Returns a UL list of user groups with check boxes
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