Access
Extended Utility class for all HTML drawing classes.
| since |
1.6 |
|---|---|
| package |
Joomla CMS |
Methods
actions
Returns a UL list of actions with checkboxes
actions( name, mixed||string|int selected, component, section = 'global') :
| see | Access |
|---|---|
| since |
1.6 |
Arguments
- name
stringThe name of the checkbox controls array- selected
array<string|int, mixed>An array of the checked boxes- component
stringThe component the permissions apply to- section
stringThe section (within a component) the permissions apply to
Response
string
assetgrouplist
Displays a Select list of the available asset groups
assetgrouplist( name, selected, attribs = null, mixed||string|int config = []) :
| since |
1.6 |
|---|
Arguments
- name
stringThe name of the select element- selected
mixedThe selected asset group id- attribs
stringOptional attributes for the select field- config
array<string|int, mixed>An array of options for the control
Response
mixedAn HTML string or null if an error occurs
assetgroups
Gets a list of the asset groups as an array of JHtml compatible options.
assetgroups() :
| since |
1.6 |
|---|
Response
mixedAn array or false if an error occurs
level
Displays a list of the available access view levels
level( name, selected, attribs = '', params = true, id = false) :
| see | AccesslevelField |
|---|---|
| since |
1.6 |
Arguments
- name
stringThe form field name.- selected
stringThe name of the selected section.- attribs
stringAdditional attributes to add to the select field.- params
mixedTrue to add "All Sections" option or an array of options- id
mixedThe form field id or false if not used
Response
stringThe required HTML for the SELECT tag.
usergroup
Displays a list of the available user groups.
usergroup( name, selected, attribs = '', allowAll = true, id = false) :
| see | UsergrouplistField |
|---|---|
| since |
1.6 |
Arguments
- name
stringThe form field name.- selected
stringThe name of the selected section.- attribs
stringAdditional attributes to add to the select field.- allowAll
boolTrue to add "All Groups" option.- id
mixedThe form field id
Response
stringThe required HTML for the SELECT tag.
usergroups
Returns a UL list of user groups with checkboxes
usergroups( name, mixed||string|int selected, checkSuperAdmin = false) :
| since |
1.6 |
|---|
Arguments
- name
stringThe name of the checkbox controls array- selected
array<string|int, mixed>An array of the checked boxes- checkSuperAdmin
boolIf false only super admins can add to super admin groups
Response
string
Properties
asset_groups
A cached array of the asset groups
| since |
1.6 |
|---|
Type(s)
array<string|int, mixed>