Difference between revisions of "Accesslevel form field type/es"
From Joomla! Documentation
(Updating to match new version of source page) |
(Created page with "* '''multiple''' (opcional) si varios elementos se pueden seleccionar al mismo tiempo (''verdadero'' o ''falso'').") |
||
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''' ( | + | * '''multiple''' (opcional) si varios elementos se pueden seleccionar al mismo tiempo (''verdadero'' o ''falso''). |
* '''useglobal''' (optional) if set to true, it will show the value that is set in the global configuration if found in the database. | * '''useglobal''' (optional) if set to true, it will show the value that is set in the global configuration if found in the database. | ||
Revision as of 06:28, 27 June 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 (opcional) si varios elementos se pueden seleccionar al mismo tiempo (verdadero o falso).
- 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" />