Difference between revisions of "Accesslevel form field type/es"
From Joomla! Documentation
(Updating to match new version of source page) |
|||
Line 7: | Line 7: | ||
* '''description''' texto descriptivo para el campo de formulario. | * '''description''' texto descriptivo para el campo de formulario. | ||
* '''class''' clases adicionales para definir el estilo. | * '''class''' clases adicionales para definir el estilo. | ||
+ | * '''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. | ||
Implementado por: libraries/joomla/form/fields/access.php | Implementado por: libraries/joomla/form/fields/access.php |
Revision as of 11:58, 1 March 2018
Proporciona una lista desplegable de opciones niveles de acceso con la opción actual seleccionada.
- name (obligatorio) es el nombre único del parámetro.
- type (obligatorio) debe ser accesslevel.
- label (obligatorio) (traducible) es el título descriptivo del campo.
- description texto descriptivo para el campo de formulario.
- class clases adicionales para definir el estilo.
- 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.
Implementado por: libraries/joomla/form/fields/access.php
Ejemplo de Definición XML:
<field name="access" type="accesslevel"
label="JFIELD_ACCESS_LABEL"
description="JFIELD_ACCESS_DESC"
class="span12 small" />