Class JFormField
Abstract Form Field class for the Joomla Platform.
Direct known subclasses
FOFFormFieldOrdering,
FOFFormFieldSelectrow,
JFormFieldHidden,
JFormFieldList,
JFormFieldMedia,
JFormFieldModulelayout,
JFormFieldModuleOrder,
JFormFieldNote,
JFormFieldNumber,
JFormFieldOrdering,
JFormFieldPassword,
JFormFieldRepeatable,
JFormFieldCalendar,
JFormFieldRules,
JFormFieldSpacer,
JFormFieldSubform,
JFormFieldText,
JFormFieldTextarea,
JFormFieldUser,
JFormFieldUsergroup,
JFormFieldCaptcha,
JFormFieldCheckbox,
JFormFieldColor,
JFormFieldComponentlayout,
JFormFieldContenthistory,
JFormFieldFile,
JFormFieldGroupedList
Indirect known subclasses
FOFFormFieldAccesslevel,
FOFFormFieldActions,
FOFFormFieldEmail,
FOFFormFieldGroupedbutton,
FOFFormFieldGroupedlist,
FOFFormFieldHidden,
FOFFormFieldImage,
FOFFormFieldImagelist,
FOFFormFieldInteger,
FOFFormFieldLanguage,
FOFFormFieldList,
FOFFormFieldMedia,
FOFFormFieldButton,
FOFFormFieldModel,
FOFFormFieldPassword,
FOFFormFieldPlugins,
FOFFormFieldPublished,
FOFFormFieldRadio,
FOFFormFieldRelation,
FOFFormFieldRules,
FOFFormFieldSessionhandler,
FOFFormFieldSpacer,
FOFFormFieldTag,
FOFFormFieldCachehandler,
FOFFormFieldTel,
FOFFormFieldText,
FOFFormFieldTextarea,
FOFFormFieldTimezone,
FOFFormFieldTitle,
FOFFormFieldUrl,
FOFFormFieldUser,
FOFFormFieldUsergroup,
JFormFieldAccessLevel,
JFormFieldAliastag,
FOFFormFieldCalendar,
JFormFieldAuthor,
JFormFieldCacheHandler,
JFormFieldCategory,
JFormFieldCheckboxes,
JFormFieldChromeStyle,
JFormFieldCombo,
JFormFieldComponents,
JFormFieldContentlanguage,
JFormFieldContenttype,
JFormFieldDatabaseConnection,
FOFFormFieldCaptcha,
JFormFieldEditor,
JFormFieldEMail,
JFormFieldFileList,
JFormFieldFolderList,
JFormFieldFrontend_Language,
JFormFieldHeadertag,
JFormFieldHelpsite,
JFormFieldImageList,
JFormFieldInteger,
JFormFieldLanguage,
FOFFormFieldCheckbox,
JFormFieldLastvisitDateRange,
JFormFieldLimitbox,
JFormFieldMenu,
JFormFieldMenuitem,
JFormFieldMeter,
JFormFieldModulePosition,
JFormFieldModuletag,
JFormFieldPlugin_Status,
JFormFieldPlugins,
JFormFieldPredefinedList,
FOFFormFieldCheckboxes,
JFormFieldRadio,
JFormFieldRange,
JFormFieldRegistrationDateRange,
JFormFieldSessionHandler,
JFormFieldSQL,
JFormFieldStatus,
JFormFieldTag,
JFormFieldTel,
JFormFieldTemplatestyle,
JFormFieldTimezone,
FOFFormFieldComponents,
JFormFieldUrl,
JFormFieldUserActive,
JFormFieldUserGroupList,
JFormFieldUserState,
FOFFormFieldEditor
Package: Joomla\Platform\Form
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/field.php
Methods summary
public
|
|
public
mixed
|
|
public
|
|
public
|
|
public
boolean
|
#
setup(
Method to attach a JForm object to the field. |
public
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
public
mixed
|
|
public
string
|
|
public
string
|
|
public
string
|
|
protected
array
|
|
protected
array
|
|
protected
|
|
protected
boolean
|
Magic methods summary
Properties summary
protected
string
|
$description |
#
The description text for the form field. Usually used in tooltips. |
protected
string
|
$hint |
#
The hint text for the form field used to display hint inside the field. |
protected
mixed
|
$autocomplete |
#
The autocomplete state for the form field. If 'off' element will not be automatically completed by browser. |
protected
boolean
|
$spellcheck |
#
The spellcheck state for the form field. |
protected
boolean
|
$autofocus |
#
The autofocus request for the form field. If true element will be automatically focused on document load. |
protected
|
$element |
#
The SimpleXMLElement object of the |
protected
|
$form |
#
The JForm object of the form attached to the form field. |
protected
string
|
$formControl |
#
The form control prefix for field names from the JForm object attached to the form field. |
protected
boolean
|
$translateLabel |
#
True to translate the field label string. |
protected
boolean
|
$translateDescription |
#
True to translate the field description string. |
protected
boolean
|
$translateHint |
#
True to translate the field hint string. |
protected
string
|
$id |
#
The document id for the form field. |
protected
string
|
$input |
#
The input for the form field. |
protected
string
|
$label |
#
The label for the form field. |
protected
boolean
|
$multiple |
#
The multiple state for the form field. If true then multiple values are allowed for the field. Most often used for list field types. |
public
mixed
|
$repeat |
#
Allows extensions to create repeat elements |
protected
string
|
$pattern |
#
The pattern (Reg Ex) of value of the form field. |
protected
string
|
$name |
#
The name of the form field. |
protected
string
|
$fieldname |
#
The name of the field. |
protected
string
|
$group |
#
The group of the field. |
protected
boolean
|
$required |
#
The required state for the form field. If true then there must be a value for the field to be considered valid. |
protected
boolean
|
$disabled |
#
The disabled state for the form field. If true then the field will be disabled and user can't interact with the field. |
protected
boolean
|
$readonly |
#
The readonly state for the form field. If true then the field will be readonly. |
protected
string
|
$type |
#
The form field type. |
protected
string
|
$validate |
#
The validation method for the form field. This value will determine which method is used to validate the value for a field. |
protected
mixed
|
$value |
#
The value of the form field. |
protected
mixed
|
$default |
#
The default value of the form field. |
protected
integer
|
$size |
#
The size of the form field. |
protected
mixed
|
$class |
#
The class of the form field |
protected
mixed
|
$labelclass |
#
The label's CSS class of the form field |
protected
string
|
$onchange |
#
The javascript onchange of the form field. |
protected
string
|
$onclick |
#
The javascript onclick of the form field. |
protected
string
|
$showon |
#
The conditions to show/hide the field. |
protected static
integer
|
$count |
#
The count value for generated name field |
protected static
string
|
$generated_fieldname |
#
The string used for generated fields names |
protected
string
|
$layout |
#
Name of the layout being used to render the field |
protected
string
|
$renderLayout |
#
Layout to render the form field |
protected
string
|
$renderLabelLayout |
#
Layout to render the label |
