Difference between revisions of "Accesslevel form field type"
From Joomla! Documentation
(added implemented by) |
(Marked for translation) |
||
Line 1: | Line 1: | ||
− | + | <noinclude><languages /></noinclude> | |
+ | <translate>Provides a dropdown list of accesslevel options with the current option selected.</translate> | ||
− | * '''name''' (mandatory) is the unique name of the parameter. | + | <translate>* '''name''' (mandatory) is the unique name of the parameter.</translate> |
− | * '''type''' (mandatory) must be ''accesslevel''. | + | <translate>* '''type''' (mandatory) must be ''accesslevel''.</translate> |
− | * '''label''' (mandatory) (translatable) is the descriptive title of the field. | + | <translate>* '''label''' (mandatory) (translatable) is the descriptive title of the field.</translate> |
− | * '''description''' description text for the form field. | + | <translate>* '''description''' description text for the form field.</translate> |
− | * '''class''' additional classes to set style. | + | <translate>* '''class''' additional classes to set style.</translate> |
− | Implemented by: libraries/joomla/form/fields/access.php | + | <translate>Implemented by:</translate> libraries/joomla/form/fields/access.php |
− | Example XML Definition | + | <translate>Example XML Definition:</translate> |
<source type="xml"> | <source type="xml"> | ||
<field name="access" type="accesslevel" | <field name="access" type="accesslevel" | ||
Line 17: | Line 18: | ||
</source> | </source> | ||
+ | <noinclude> | ||
+ | <translate> | ||
[[Category:Standard form field types]] | [[Category:Standard form field types]] | ||
+ | </translate> | ||
+ | </noinclude> |
Revision as of 15:11, 8 August 2015
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
Example XML Definition:
<field name="access" type="accesslevel"
label="JFIELD_ACCESS_LABEL"
description="JFIELD_ACCESS_DESC"
class="span12 small" />