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}} | ||
===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}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 15:53, 24 March 2017
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
JModelForm source code on BitBucket
Subpackage Application- Other versions of JModelForm
{{subst:SeeAlso:JModelForm}}
User contributed notes
<CodeExamplesForm />