JModelForm: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JModelForm}}
===Defined in===
... |
m preparing for archive only |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/application/component/modelform.php | libraries/joomla/application/component/modelform.php | ||
| Line 24: | Line 19: | ||
|Method to validate the form data. | |Method to validate the form data. | ||
|} | |} | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.application.component.modelform' );</source> | <source lang="php">jimport( 'joomla.application.component.modelform' );</source> | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JModelForm | category=JModelForm | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 01:55, 25 March 2017
Defined in
libraries/joomla/application/component/modelform.php
Methods
| Method name | Description |
|---|---|
| checkout | Method to check-out a row for editing. |
| checkin | Method to checkin a row. |
| getForm | Method to get a form object. |
| validate | Method to validate the form data. |
Importing
jimport( 'joomla.application.component.modelform' );
Examples
Code Examples