API17

JModelForm: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
Doxiki2 (talk | contribs)
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 23:00, 23 April 2011

[Edit Descripton] Template:Description:JModelForm

Defined in

libraries/joomla/application/component/modelform.php

Subpackage

Application

Extends

JModel

Extended by

Methods

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

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

See also

Template:SeeAlso:JModelForm [Edit See Also]

Examples

<CodeExamplesForm />