Difference between revisions of "Accesslevel form field type"

From Joomla! Documentation

(added implemented by)
Line 6: Line 6:
 
* '''description''' description text for the form field.
 
* '''description''' description text for the form field.
 
* '''class''' additional classes to set style.
 
* '''class''' additional classes to set style.
 +
 +
Implemented by: libraries/joomla/form/fields/access.php function: level
  
 
Example XML Definition
 
Example XML Definition

Revision as of 09:39, 18 September 2013

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.

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

Example XML Definition

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