API17

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===
{{Description:JFormField}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JFormField|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
Line 14: Line 12:
 
|-
 
|-
 
|public  
 
|public  
|[[JFormField::__construct/11.1|__construct]]
+
|[[API17:JFormField::__construct|__construct]]
 
|Method to instantiate the form field object.  
 
|Method to instantiate the form field object.  
 
|-
 
|-
 
|public  
 
|public  
|[[JFormField::__get/11.1|__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/11.1|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/11.1|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/11.1|getFieldName]]
+
|[[API17:JFormField::getFieldName|getFieldName]]
 
|Method to get the field name used.  
 
|Method to get the field name used.  
 
|-
 
|-
 
|protected  
 
|protected  
|[[JFormField::getId/11.1|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/11.1|getInput]]
+
|[[API17:JFormField::getInput|getInput]]
 
|Method to get the field input markup.  
 
|Method to get the field input markup.  
 
|-
 
|-
 
|protected  
 
|protected  
|[[JFormField::getLabel/11.1|getLabel]]
+
|[[API17:JFormField::getLabel|getLabel]]
 
|Method to get the field label markup.  
 
|Method to get the field label markup.  
 
|-
 
|-
 
|protected  
 
|protected  
|[[JFormField::getName/11.1|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/11.1|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/11.1|JFormFieldCalendar]]
+
** [[API17:JFormFieldCalendar|JFormFieldCalendar]]
** [[JFormFieldCheckbox/11.1|JFormFieldCheckbox]]
+
** [[API17:JFormFieldCheckbox|JFormFieldCheckbox]]
** [[JFormFieldCheckboxes/11.1|JFormFieldCheckboxes]]
+
** [[API17:JFormFieldCheckboxes|JFormFieldCheckboxes]]
** [[JFormFieldComponentLayout/11.1|JFormFieldComponentLayout]]
+
** [[API17:JFormFieldComponentLayout|JFormFieldComponentLayout]]
** [[JFormFieldEditor/11.1|JFormFieldEditor]]
+
** [[API17:JFormFieldEditor|JFormFieldEditor]]
** [[JFormFieldEMail/11.1|JFormFieldEMail]]
+
** [[API17:JFormFieldEMail|JFormFieldEMail]]
** [[JFormFieldFile/11.1|JFormFieldFile]]
+
** [[API17:JFormFieldFile|JFormFieldFile]]
** [[JFormFieldGroupedList/11.1|JFormFieldGroupedList]]
+
** [[API17:JFormFieldGroupedList|JFormFieldGroupedList]]
** [[JFormFieldHidden/11.1|JFormFieldHidden]]
+
** [[API17:JFormFieldHidden|JFormFieldHidden]]
** [[JFormFieldList/11.1|JFormFieldList]]
+
** [[API17:JFormFieldList|JFormFieldList]]
** [[JFormFieldMedia/11.1|JFormFieldMedia]]
+
** [[API17:JFormFieldMedia|JFormFieldMedia]]
** [[JFormFieldModuleLayout/11.1|JFormFieldModuleLayout]]
+
** [[API17:JFormFieldModuleLayout|JFormFieldModuleLayout]]
** [[JFormFieldPassword/11.1|JFormFieldPassword]]
+
** [[API17:JFormFieldPassword|JFormFieldPassword]]
** [[JFormFieldRadio/11.1|JFormFieldRadio]]
+
** [[API17:JFormFieldRadio|JFormFieldRadio]]
** [[JFormFieldRules/11.1|JFormFieldRules]]
+
** [[API17:JFormFieldRules|JFormFieldRules]]
** [[JFormFieldSpacer/11.1|JFormFieldSpacer]]
+
** [[API17:JFormFieldSpacer|JFormFieldSpacer]]
** [[JFormFieldText/11.1|JFormFieldText]]
+
** [[API17:JFormFieldText|JFormFieldText]]
** [[JFormFieldTextarea/11.1|JFormFieldTextarea]]
+
** [[API17:JFormFieldTextarea|JFormFieldTextarea]]
** [[JFormFieldUser/11.1|JFormFieldUser]]
+
** [[API17:JFormFieldUser|JFormFieldUser]]
** [[JFormFieldUsergroup/11.1|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/11.1|Form]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Form|Form]]
* [[JFormField|Other versions of JFormField]]
+
* [[API17:JFormField|Other versions of JFormField]]
{{SeeAlso:JFormField}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JFormField|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JFormField
 
category=JFormField
category=CodeExample
+
namespace=CodeExample
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
Line 97: Line 93:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JFormField]]</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.

Joomla 11.1 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.

Importing[edit]

jimport( 'joomla.form.formfield' );

See also[edit]


User contributed notes[edit]

Code Examples[edit]