Campo de Formulario, Tipo databaseconnection

From Joomla! Documentation

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page DatabaseConnection form field type and the translation is 100% complete.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français

Proporciona una lista de conexiones de base de datos, opcionalmente se limitan a una lista determinada.

  • name (obligatorio) es el nombre único del parámetro.
  • type (obligatorio) debe ser databaseconnection.
  • label (obligatorio) (traducible) es el título descriptivo del campo.
  • description (opcional) (traducible) es el texto que será mostrado como un texto de ayuda para el campo del formulario.

Ejemplo de Definición XML:

<field name="dbtype" type="databaseconnection"
	label="COM_CONFIG_FIELD_DATABASE_TYPE_LABEL"
	description="COM_CONFIG_FIELD_DATABASE_TYPE_DESC"
	supported="mysql,mysqli,postgresql,sqlsrv,sqlazure"
	filter="string" />