API17

JModelForm: Difference between revisions

From Joomla! Documentation

m moving preparation
m clean up
Line 2: Line 2:
=={{JVer|11.1}} JModelForm==
=={{JVer|11.1}} JModelForm==
===Description===
===Description===
{{Description:JModelForm}}
{{subst:Description:JModelForm}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JModelForm|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Methods===
===Methods===
{| class="wikitable sortable"
{| class="wikitable sortable"
Line 52: Line 50:
* {{JVer|11.1}} Subpackage [[API17:Subpackage Application|Application]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage Application|Application]]
* [[API17:JModelForm|Other versions of JModelForm]]
* [[API17:JModelForm|Other versions of JModelForm]]
{{SeeAlso:JModelForm}}
{{subst:SeeAlso:JModelForm}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JModelForm|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 15:53, 24 March 2017

Joomla 11.1 JModelForm

Description

{{subst:Description:JModelForm}}

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

{{subst:SeeAlso:JModelForm}}

User contributed notes

<CodeExamplesForm />