Class JFormFieldSQL
Supports an custom SQL select list
- JFormField
-
JFormFieldList
-
JFormFieldSQL
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 11.1
Located at joomla/form/fields/sql.php
Methods summary
public
mixed
|
|
public
|
|
public
boolean
|
#
setup(
Method to attach a JForm object to the field. |
protected
|
#
processQuery( array $conditions, string $filters, array $defaults )
Method to process the query from form. |
protected
array
|
#
getOptions( )
Method to get the custom field options. Use the query attribute to supply a query to generate the list. |
Methods inherited from JFormFieldList
Methods inherited from JFormField
__construct(),
getAttribute(),
getControlGroup(),
getFieldName(),
getId(),
getLabel(),
getLayoutData(),
getLayoutPaths(),
getName(),
getRenderer(),
getTitle(),
isDebugEnabled(),
render(),
renderField(),
setForm(),
setValue()
Magic methods summary
Properties summary
public
string
|
$type |
#
The form field type. |
protected
string
|
$keyField |
#
The keyField. |
protected
string
|
$valueField |
#
The valueField. |
protected
boolean
|
$translate |
#
The translate. |
protected
string
|
$query |
#
The query. |
Properties inherited from JFormField
$autocomplete,
$autofocus,
$class,
$count,
$default,
$description,
$disabled,
$element,
$fieldname,
$form,
$formControl,
$generated_fieldname,
$group,
$hidden,
$hint,
$id,
$input,
$label,
$labelclass,
$layout,
$multiple,
$name,
$onchange,
$onclick,
$pattern,
$readonly,
$renderLabelLayout,
$renderLayout,
$repeat,
$required,
$showon,
$size,
$spellcheck,
$translateDescription,
$translateHint,
$translateLabel,
$validate,
$value
