Actions

Difference between revisions of "Accesslevel form field type"

From Joomla! Documentation

Line 1: Line 1:
provides a list of accesslevel options.
+
provides a dropdown list of accesslevel options with the current option selected.
  
 
* '''name''' (mandatory) is the unique name of the parameter.
 
* '''name''' (mandatory) is the unique name of the parameter.

Revision as of 13:06, 10 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.

Example XML Definition

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