Difference between revisions of "JFormField"
From Joomla! Documentation
m (→User contributed notes: bad link repair) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
=={{JVer|11.1}} JFormField== | =={{JVer|11.1}} JFormField== | ||
===Description=== | ===Description=== | ||
− | + | ||
− | + | ||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 14: | Line 12: | ||
|- | |- | ||
|public | |public | ||
− | |[[JFormField::__construct | + | |[[API17:JFormField::__construct|__construct]] |
|Method to instantiate the form field object. | |Method to instantiate the form field object. | ||
|- | |- | ||
|public | |public | ||
− | |[[JFormField::__get | + | |[[API17:JFormField::__get|__get]] |
|Method to get certain otherwise inaccessible properties from the form field object. | |Method to get certain otherwise inaccessible properties from the form field object. | ||
|- | |- | ||
|public | |public | ||
− | |[[JFormField::setForm | + | |[[API17:JFormField::setForm|setForm]] |
|Method to attach a object to the field. | |Method to attach a object to the field. | ||
|- | |- | ||
|public | |public | ||
− | |[[JFormField::setup | + | |[[API17:JFormField::setup|setup]] |
|Method to attach a object to the field. | |Method to attach a object to the field. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JFormField::getFieldName | + | |[[API17:JFormField::getFieldName|getFieldName]] |
|Method to get the field name used. | |Method to get the field name used. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JFormField::getId | + | |[[API17:JFormField::getId|getId]] |
|Method to get the id used for the field input tag. | |Method to get the id used for the field input tag. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JFormField::getInput | + | |[[API17:JFormField::getInput|getInput]] |
|Method to get the field input markup. | |Method to get the field input markup. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JFormField::getLabel | + | |[[API17:JFormField::getLabel|getLabel]] |
|Method to get the field label markup. | |Method to get the field label markup. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JFormField::getName | + | |[[API17:JFormField::getName|getName]] |
|Method to get the name used for the field input tag. | |Method to get the name used for the field input tag. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JFormField::getTitle | + | |[[API17:JFormField::getTitle|getTitle]] |
|Method to get the field title. | |Method to get the field title. | ||
|- | |- | ||
Line 56: | Line 54: | ||
* '''Defined in''' libraries/joomla/form/formfield.php | * '''Defined in''' libraries/joomla/form/formfield.php | ||
* '''Extended by''' | * '''Extended by''' | ||
− | ** [[JFormFieldCalendar | + | ** [[API17:JFormFieldCalendar|JFormFieldCalendar]] |
− | ** [[JFormFieldCheckbox | + | ** [[API17:JFormFieldCheckbox|JFormFieldCheckbox]] |
− | ** [[JFormFieldCheckboxes | + | ** [[API17:JFormFieldCheckboxes|JFormFieldCheckboxes]] |
− | ** [[JFormFieldComponentLayout | + | ** [[API17:JFormFieldComponentLayout|JFormFieldComponentLayout]] |
− | ** [[JFormFieldEditor | + | ** [[API17:JFormFieldEditor|JFormFieldEditor]] |
− | ** [[JFormFieldEMail | + | ** [[API17:JFormFieldEMail|JFormFieldEMail]] |
− | ** [[JFormFieldFile | + | ** [[API17:JFormFieldFile|JFormFieldFile]] |
− | ** [[JFormFieldGroupedList | + | ** [[API17:JFormFieldGroupedList|JFormFieldGroupedList]] |
− | ** [[JFormFieldHidden | + | ** [[API17:JFormFieldHidden|JFormFieldHidden]] |
− | ** [[JFormFieldList | + | ** [[API17:JFormFieldList|JFormFieldList]] |
− | ** [[JFormFieldMedia | + | ** [[API17:JFormFieldMedia|JFormFieldMedia]] |
− | ** [[JFormFieldModuleLayout | + | ** [[API17:JFormFieldModuleLayout|JFormFieldModuleLayout]] |
− | ** [[JFormFieldPassword | + | ** [[API17:JFormFieldPassword|JFormFieldPassword]] |
− | ** [[JFormFieldRadio | + | ** [[API17:JFormFieldRadio|JFormFieldRadio]] |
− | ** [[JFormFieldRules | + | ** [[API17:JFormFieldRules|JFormFieldRules]] |
− | ** [[JFormFieldSpacer | + | ** [[API17:JFormFieldSpacer|JFormFieldSpacer]] |
− | ** [[JFormFieldText | + | ** [[API17:JFormFieldText|JFormFieldText]] |
− | ** [[JFormFieldTextarea | + | ** [[API17:JFormFieldTextarea|JFormFieldTextarea]] |
− | ** [[JFormFieldUser | + | ** [[API17:JFormFieldUser|JFormFieldUser]] |
− | ** [[JFormFieldUsergroup | + | ** [[API17:JFormFieldUsergroup|JFormFieldUsergroup]] |
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.form.formfield' );</source> | <source lang="php">jimport( 'joomla.form.formfield' );</source> | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JFormField source code''' on [[jplatform:form/formfield.php|BitBucket]] | * {{JVer|11.1}} '''JFormField source code''' on [[jplatform:form/formfield.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Form | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Form|Form]] |
− | * [[JFormField|Other versions of JFormField]] | + | * [[API17:JFormField|Other versions of JFormField]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JFormField | category=JFormField | ||
− | + | namespace=CodeExample | |
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
Line 97: | Line 93: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:05, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JFormField[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Method to instantiate the form field object. |
public | __get | Method to get certain otherwise inaccessible properties from the form field object. |
public | setForm | Method to attach a object to the field. |
public | setup | Method to attach a object to the field. |
protected | getFieldName | Method to get the field name used. |
protected | getId | Method to get the id used for the field input tag. |
protected | getInput | Method to get the field input markup. |
protected | getLabel | Method to get the field label markup. |
protected | getName | Method to get the name used for the field input tag. |
protected | getTitle | Method to get the field title. |
- Defined in libraries/joomla/form/formfield.php
- Extended by
- JFormFieldCalendar
- JFormFieldCheckbox
- JFormFieldCheckboxes
- JFormFieldComponentLayout
- JFormFieldEditor
- JFormFieldEMail
- JFormFieldFile
- JFormFieldGroupedList
- JFormFieldHidden
- JFormFieldList
- JFormFieldMedia
- JFormFieldModuleLayout
- JFormFieldPassword
- JFormFieldRadio
- JFormFieldRules
- JFormFieldSpacer
- JFormFieldText
- JFormFieldTextarea
- JFormFieldUser
- JFormFieldUsergroup
Importing[edit]
jimport( 'joomla.form.formfield' );
See also[edit]
- JFormField source code on BitBucket
- Subpackage Form
- Other versions of JFormField
User contributed notes[edit]
Code Examples[edit]