Difference between revisions of "Accesslevel form field type"
From Joomla! Documentation
(Fix attribute to fix page syntax error) |
(Added deprecation notice and link to Joomla Manual) |
||
Line 1: | Line 1: | ||
<noinclude><languages /></noinclude> | <noinclude><languages /></noinclude> | ||
+ | {{Warning|This page has been superseded and is no longer maintained. Please go to [https://manual.joomla.org/docs/general-concepts/forms-fields/standard-fields/accesslevel Joomla Manual Accesslevel Field] instead}} | ||
+ | |||
<translate><!--T:1--> | <translate><!--T:1--> | ||
Provides a dropdown list of accesslevel options with the current option selected.</translate> | Provides a dropdown list of accesslevel options with the current option selected.</translate> |
Latest revision as of 17:09, 15 July 2024
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" />