JModelForm: Difference between revisions
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 23:00, 23 April 2011
[Edit Descripton] Template:Description:JModelForm
Defined in
libraries/joomla/application/component/modelform.php
- see source code in BitBucket
Subpackage
Extends
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
- JModelForm source code in BitBucket
- Other versions of this class
Template:SeeAlso:JModelForm [Edit See Also]
Examples
<CodeExamplesForm />