API17

JFormField: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
<span class="editsection" style="font-size:76%;">
=={{JVer|11.1}} JFormField==
<nowiki>[</nowiki>[[Description:JFormField|Edit Descripton]]<nowiki>]</nowiki>
===Description===
</span>
 
{{Description:JFormField}}
 
===Defined in===
libraries/joomla/form/formfield.php
===Subpackage===
[[Subpackage Form/11.1|Form]]
===Extends===
===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]]
===Methods===
===Methods===
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
!Visibility
!Method name
!Method name
!Description
!Description
|-
|-
|[[JFormField::__construct/11.1|__construct]]
|public
|[[API17:JFormField::__construct|__construct]]
|Method to instantiate the form field object.  
|Method to instantiate the form field object.  
|-
|-
|[[JFormField::__get/11.1|__get]]
|public
|[[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.  
|-
|-
|[[JFormField::setForm/11.1|setForm]]
|public
|[[API17:JFormField::setForm|setForm]]
|Method to attach a  object to the field.  
|Method to attach a  object to the field.  
|-
|-
|[[JFormField::setup/11.1|setup]]
|public
|[[API17:JFormField::setup|setup]]
|Method to attach a  object to the field.  
|Method to attach a  object to the field.  
|-
|-
|[[JFormField::getFieldName/11.1|getFieldName]]
|protected
|[[API17:JFormField::getFieldName|getFieldName]]
|Method to get the field name used.  
|Method to get the field name used.  
|-
|-
|[[JFormField::getId/11.1|getId]]
|protected
|[[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.  
|-
|-
|[[JFormField::getInput/11.1|getInput]]
|protected
|[[API17:JFormField::getInput|getInput]]
|Method to get the field input markup.  
|Method to get the field input markup.  
|-
|-
|[[JFormField::getLabel/11.1|getLabel]]
|protected
|[[API17:JFormField::getLabel|getLabel]]
|Method to get the field label markup.  
|Method to get the field label markup.  
|-
|-
|[[JFormField::getName/11.1|getName]]
|protected
|[[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.  
|-
|-
|[[JFormField::getTitle/11.1|getTitle]]
|protected
|[[API17:JFormField::getTitle|getTitle]]
|Method to get the field title.  
|Method to get the field title.  
|-
|-
|}
|}
* '''Defined in''' libraries/joomla/form/formfield.php
* '''Extended by'''
** [[API17:JFormFieldCalendar|JFormFieldCalendar]]
** [[API17:JFormFieldCheckbox|JFormFieldCheckbox]]
** [[API17:JFormFieldCheckboxes|JFormFieldCheckboxes]]
** [[API17:JFormFieldComponentLayout|JFormFieldComponentLayout]]
** [[API17:JFormFieldEditor|JFormFieldEditor]]
** [[API17:JFormFieldEMail|JFormFieldEMail]]
** [[API17:JFormFieldFile|JFormFieldFile]]
** [[API17:JFormFieldGroupedList|JFormFieldGroupedList]]
** [[API17:JFormFieldHidden|JFormFieldHidden]]
** [[API17:JFormFieldList|JFormFieldList]]
** [[API17:JFormFieldMedia|JFormFieldMedia]]
** [[API17:JFormFieldModuleLayout|JFormFieldModuleLayout]]
** [[API17:JFormFieldPassword|JFormFieldPassword]]
** [[API17:JFormFieldRadio|JFormFieldRadio]]
** [[API17:JFormFieldRules|JFormFieldRules]]
** [[API17:JFormFieldSpacer|JFormFieldSpacer]]
** [[API17:JFormFieldText|JFormFieldText]]
** [[API17:JFormFieldTextarea|JFormFieldTextarea]]
** [[API17:JFormFieldUser|JFormFieldUser]]
** [[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===
* [[JFormField|Other versions of this class]]
* {{JVer|11.1}} '''JFormField source code''' on [[jplatform:form/formfield.php|BitBucket]]
{{SeeAlso:JFormField}}
* {{JVer|11.1}} Subpackage [[API17:Subpackage Form|Form]]
<span class="editsection" style="font-size:76%;">
* [[API17:JFormField|Other versions of JFormField]]
<nowiki>[</nowiki>[[SeeAlso:JFormField|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
===Examples===
===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=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JFormField]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 03:05, 25 March 2017

Joomla 11.1 JFormField

Description

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.

Importing

jimport( 'joomla.form.formfield' );

See also


User contributed notes

Code Examples