Difference between revisions of "Accesslevel form field type"

From Joomla! Documentation

(Marked this version for translation)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
provides a dropdown list of accesslevel options with the current option selected.
+
<noinclude><languages /></noinclude>
 +
<translate><!--T:1-->
 +
Provides a dropdown list of accesslevel options with the current option selected.</translate>
  
* '''name''' (mandatory) is the unique name of the parameter.
+
<translate><!--T:2-->
* '''type''' (mandatory) must be ''accesslevel''.
+
* '''name''' (mandatory) is the unique name of the parameter.</translate>
* '''label''' (mandatory) (translatable) is the descriptive title of the field.
+
<translate><!--T:3-->
* '''description''' description text for the form field.
+
* '''type''' (mandatory) must be ''accesslevel''.</translate>
* '''class''' additional classes to set style.
+
<translate><!--T:4-->
 +
* '''label''' (mandatory) (translatable) is the descriptive title of the field.</translate>
 +
<translate><!--T:5-->
 +
* '''description''' description text for the form field.</translate>
 +
<translate><!--T:6-->
 +
* '''class''' additional classes to set style.</translate>
  
Example XML Definition
+
<translate><!--T:7-->
 +
Implemented by:</translate> libraries/joomla/form/fields/access.php
 +
 
 +
<translate><!--T:8-->
 +
Example XML Definition:</translate>
 
<source type="xml">
 
<source type="xml">
 
<field name="access" type="accesslevel"
 
<field name="access" type="accesslevel"
Line 15: Line 26:
 
</source>
 
</source>
  
 +
<noinclude>
 +
<translate>
 +
<!--T:9-->
 
[[Category:Standard form field types]]
 
[[Category:Standard form field types]]
 +
</translate>
 +
</noinclude>

Revision as of 15:11, 8 August 2015

Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎português • ‎português do Brasil • ‎română • ‎русский • ‎فارسی • ‎हिन्दी • ‎বাংলা • ‎中文(台灣)‎

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" />