JControllerForm: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JControllerForm}}
===Defi... |
m clean up |
||
| Line 1: | Line 1: | ||
{{subst:Description:JControllerForm}} | |||
{{Description:JControllerForm}} | |||
===Defined in=== | ===Defined in=== | ||
| Line 36: | Line 33: | ||
<source lang="php">jimport( 'joomla.application.component.controllerform' );</source> | <source lang="php">jimport( 'joomla.application.component.controllerform' );</source> | ||
{{subst:SeeAlso:JControllerForm}} | |||
{{SeeAlso:JControllerForm}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 13:16, 24 March 2017
{{subst:Description:JControllerForm}}
Defined in
libraries/joomla/application/component/controllerform.php
Methods
| Method name | Description |
|---|---|
| __construct | Constructor. |
| getModel | Method to get a model object, loading it if required. |
| display | This controller does not have a display method. Redirect back to the list view of the component. |
| add | Method to add a new record. |
| edit | Method to edit an existing record. |
| cancel | Method to cancel an edit |
| save | Method to save a record. |
Importing
jimport( 'joomla.application.component.controllerform' );
{{subst:SeeAlso:JControllerForm}}
Examples
<CodeExamplesForm />