Joomla accesslevel Form Field Type
It provides a drop down list of access level options with the current option selected.
Example XML Definition:
<field name="access"
type="accesslevel"
label="JFIELD_ACCESS_LABEL" />
Mandatory Parameters
- name is the unique name of the parameter
- type must be accesslevel
- label (translatable) is the descriptive title of the field.
Optional Parameters
- description is the description text for the form field.
- class is additional classes to set style.
- multiple: whether multiple items can be selected at the same time (true or false).
- useglobal: if set to true, it will show the value that is set in the global configuration if found in the database.
Examples
1. Access Field (com_content)
<field
name="access"
type="accesslevel"
label="JFIELD_ACCESS_LABEL"
filter="UINT"
validate="options" />