Actions

API17

Difference between revisions of "JModelForm"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (moving preparation)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JModelForm==
 +
===Description===
 +
{{Description:JModelForm}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JModelForm|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JModelForm|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JModelForm}}
 
===Defined in===
 
libraries/joomla/application/component/modelform.php
 
===Subpackage===
 
[[Subpackage Application/11.1|Application]]
 
===Extends===
 
[[JModel/11.1|JModel]]
 
===Extended by===
 
* [[JModelAdmin/11.1|JModelAdmin]]
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JModelForm::checkin/11.1|checkin]]
+
|public
 +
|[[API17:JModelForm::checkin|checkin]]
 
|Method to checkin a row.  
 
|Method to checkin a row.  
 
|-
 
|-
|[[JModelForm::checkout/11.1|checkout]]
+
|public
 +
|[[API17:JModelForm::checkout|checkout]]
 
|Method to check-out a row for editing.  
 
|Method to check-out a row for editing.  
 
|-
 
|-
|[[JModelForm::getForm/11.1|getForm]]
+
|public
 +
|[[API17:JModelForm::getForm|getForm]]
 
|Abstract method for getting the form from the model.  
 
|Abstract method for getting the form from the model.  
 
|-
 
|-
|[[JModelForm::validate/11.1|validate]]
+
|public
 +
|[[API17:JModelForm::validate|validate]]
 
|Method to validate the form data.  
 
|Method to validate the form data.  
 
|-
 
|-
|[[JModelForm::loadForm/11.1|loadForm]]
+
|protected
 +
|[[API17:JModelForm::loadForm|loadForm]]
 
|Method to get a form object.  
 
|Method to get a form object.  
 
|-
 
|-
|[[JModelForm::loadFormData/11.1|loadFormData]]
+
|protected
 +
|[[API17:JModelForm::loadFormData|loadFormData]]
 
|Method to get the data that should be injected in the form.  
 
|Method to get the data that should be injected in the form.  
 
|-
 
|-
|[[JModelForm::preprocessForm/11.1|preprocessForm]]
+
|protected
 +
|[[API17:JModelForm::preprocessForm|preprocessForm]]
 
|Method to allow derived classes to preprocess the form.  
 
|Method to allow derived classes to preprocess the form.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/application/component/modelform.php
 +
* '''Extends''' [[API17:JModel|JModel]]
 +
* '''Extended by'''
 +
** [[API17:JModelAdmin|JModelAdmin]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.application.component.modelform' );</source>
 
<source lang="php">jimport( 'joomla.application.component.modelform' );</source>
 
===See also===
 
===See also===
* [[JModelForm|Other versions of this class]]
+
* {{JVer|11.1}} '''JModelForm source code''' on [[jplatform:application/component/modelform.php|BitBucket]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage Application|Application]]
 +
* [[API17:JModelForm|Other versions of JModelForm]]
 
{{SeeAlso:JModelForm}}
 
{{SeeAlso:JModelForm}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JModelForm|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JModelForm|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 56: Line 64:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JModelForm]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 20:13, 11 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 JModelForm

Description

Description:JModelForm [Edit Descripton]

Methods

Visibility Method name Description
public checkin Method to checkin a row.
public checkout Method to check-out a row for editing.
public getForm Abstract method for getting the form from the model.
public validate Method to validate the form data.
protected loadForm Method to get a form object.
protected loadFormData Method to get the data that should be injected in the form.
protected preprocessForm Method to allow derived classes to preprocess the form.
  • Defined in libraries/joomla/application/component/modelform.php
  • Extends JModel
  • Extended by

Importing

jimport( 'joomla.application.component.modelform' );

See also

SeeAlso:JModelForm [Edit See Also]

User contributed notes

<CodeExamplesForm />