API17:JFormField
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
m (→User contributed notes: bad link repair) |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|11.1}} JFormField== | ||
| + | ===Description=== | ||
| + | {{Description:JFormField}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JFormField|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JFormField|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public | ||
|[[JFormField::__construct/11.1|__construct]] | |[[JFormField::__construct/11.1|__construct]] | ||
|Method to instantiate the form field object. | |Method to instantiate the form field object. | ||
|- | |- | ||
| + | |public | ||
|[[JFormField::__get/11.1|__get]] | |[[JFormField::__get/11.1|__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 | ||
|[[JFormField::setForm/11.1|setForm]] | |[[JFormField::setForm/11.1|setForm]] | ||
|Method to attach a object to the field. | |Method to attach a object to the field. | ||
|- | |- | ||
| + | |public | ||
|[[JFormField::setup/11.1|setup]] | |[[JFormField::setup/11.1|setup]] | ||
|Method to attach a object to the field. | |Method to attach a object to the field. | ||
|- | |- | ||
| + | |protected | ||
|[[JFormField::getFieldName/11.1|getFieldName]] | |[[JFormField::getFieldName/11.1|getFieldName]] | ||
|Method to get the field name used. | |Method to get the field name used. | ||
|- | |- | ||
| + | |protected | ||
|[[JFormField::getId/11.1|getId]] | |[[JFormField::getId/11.1|getId]] | ||
|Method to get the id used for the field input tag. | |Method to get the id used for the field input tag. | ||
|- | |- | ||
| + | |protected | ||
|[[JFormField::getInput/11.1|getInput]] | |[[JFormField::getInput/11.1|getInput]] | ||
|Method to get the field input markup. | |Method to get the field input markup. | ||
|- | |- | ||
| + | |protected | ||
|[[JFormField::getLabel/11.1|getLabel]] | |[[JFormField::getLabel/11.1|getLabel]] | ||
|Method to get the field label markup. | |Method to get the field label markup. | ||
|- | |- | ||
| + | |protected | ||
|[[JFormField::getName/11.1|getName]] | |[[JFormField::getName/11.1|getName]] | ||
|Method to get the name used for the field input tag. | |Method to get the name used for the field input tag. | ||
|- | |- | ||
| + | |protected | ||
|[[JFormField::getTitle/11.1|getTitle]] | |[[JFormField::getTitle/11.1|getTitle]] | ||
|Method to get the field title. | |Method to get the field title. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/form/formfield.php | ||
| + | * '''Extended by''' | ||
| + | ** [[JFormFieldCalendar/11.1|JFormFieldCalendar]] | ||
| + | ** [[JFormFieldCheckbox/11.1|JFormFieldCheckbox]] | ||
| + | ** [[JFormFieldCheckboxes/11.1|JFormFieldCheckboxes]] | ||
| + | ** [[JFormFieldComponentLayout/11.1|JFormFieldComponentLayout]] | ||
| + | ** [[JFormFieldEditor/11.1|JFormFieldEditor]] | ||
| + | ** [[JFormFieldEMail/11.1|JFormFieldEMail]] | ||
| + | ** [[JFormFieldFile/11.1|JFormFieldFile]] | ||
| + | ** [[JFormFieldGroupedList/11.1|JFormFieldGroupedList]] | ||
| + | ** [[JFormFieldHidden/11.1|JFormFieldHidden]] | ||
| + | ** [[JFormFieldList/11.1|JFormFieldList]] | ||
| + | ** [[JFormFieldMedia/11.1|JFormFieldMedia]] | ||
| + | ** [[JFormFieldModuleLayout/11.1|JFormFieldModuleLayout]] | ||
| + | ** [[JFormFieldPassword/11.1|JFormFieldPassword]] | ||
| + | ** [[JFormFieldRadio/11.1|JFormFieldRadio]] | ||
| + | ** [[JFormFieldRules/11.1|JFormFieldRules]] | ||
| + | ** [[JFormFieldSpacer/11.1|JFormFieldSpacer]] | ||
| + | ** [[JFormFieldText/11.1|JFormFieldText]] | ||
| + | ** [[JFormFieldTextarea/11.1|JFormFieldTextarea]] | ||
| + | ** [[JFormFieldUser/11.1|JFormFieldUser]] | ||
| + | ** [[JFormFieldUsergroup/11.1|JFormFieldUsergroup]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.form.formfield' );</source> | <source lang="php">jimport( 'joomla.form.formfield' );</source> | ||
===See also=== | ===See also=== | ||
| − | * JFormField source code | + | * {{JVer|11.1}} '''JFormField source code''' on [[jplatform:form/formfield.php|BitBucket]] |
| − | * [[JFormField|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Form/11.1|Form]] |
| + | * [[JFormField|Other versions of JFormField]] | ||
{{SeeAlso:JFormField}} | {{SeeAlso:JFormField}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JFormField|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JFormField|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 85: | Line 94: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JFormField]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JFormField]]</noinclude> |
Revision as of 13:44, 29 August 2012
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JFormField
Description
Description:JFormField [Edit Descripton]
Methods
| 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
jimport( 'joomla.form.formfield' );
See also
-
JFormField source code on BitBucket
-
Subpackage Form
- Other versions of JFormField
SeeAlso:JFormField [Edit See Also]
User contributed notes
<CodeExamplesForm />
