API17

Difference between revisions of "JModelForm"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/application/component/modelform.php
 
libraries/joomla/application/component/modelform.php
 +
* see source code in [[jplatform:application/component/modelform.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Application/11.1|Application]]
 
[[Subpackage Application/11.1|Application]]
Line 43: Line 44:
 
<source lang="php">jimport( 'joomla.application.component.modelform' );</source>
 
<source lang="php">jimport( 'joomla.application.component.modelform' );</source>
 
===See also===
 
===See also===
 +
* JModelForm source code in [[jplatform:application/component/modelform.php|BitBucket]]
 
* [[JModelForm|Other versions of this class]]
 
* [[JModelForm|Other versions of this class]]
 
{{SeeAlso:JModelForm}}
 
{{SeeAlso:JModelForm}}

Revision as of 18:00, 23 April 2011

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.

[Edit Descripton] Template:Description:JModelForm

Defined in[edit]

libraries/joomla/application/component/modelform.php

Subpackage[edit]

Application

Extends[edit]

JModel

Extended by[edit]

Methods[edit]

Method name Description
checkin Method to checkin a row.
checkout Method to check-out a row for editing.
getForm Abstract method for getting the form from the model.
validate Method to validate the form data.
loadForm Method to get a form object.
loadFormData Method to get the data that should be injected in the form.
preprocessForm Method to allow derived classes to preprocess the form.

Importing[edit]

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

See also[edit]

Template:SeeAlso:JModelForm [Edit See Also]

Examples[edit]

<CodeExamplesForm />