Accesslevel form field type

From Joomla! Documentation

This page contains changes which are not marked for translation.
Warning!

This page has been superseded and is no longer maintained. Please go to Joomla Manual Accesslevel Field instead


Provides a dropdown list of accesslevel options with the current option selected.

  • name (mandatory) is the unique name of the parameter.
  • type (mandatory) must be accesslevel.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • description description text for the form field.
  • class additional classes to set style.
  • multiple (optional) is whether multiple items can be selected at the same time (true or false).
  • useglobal (optional) if set to true, it will show the value that is set in the global configuration if found in the database.

Implemented by: libraries/joomla/form/fields/access.php

Example XML Definition:

<field name="access" type="accesslevel"
	label="JFIELD_ACCESS_LABEL"
	description="JFIELD_ACCESS_DESC"
	class="span12 small" />