Actions

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

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.

[Edit Descripton] 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

SeeAlso:JModelForm [Edit See Also]

Examples

<CodeExamplesForm />