Actions

API16

Difference between revisions of "JControllerForm"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JControllerForm}} ===Defi...)
 
 
Line 33: Line 33:
 
|Method to save a record.  
 
|Method to save a record.  
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.application.component.controllerform' );</source>
 
<source lang="php">jimport( 'joomla.application.component.controllerform' );</source>

Latest revision as of 03:57, 30 March 2010

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:JControllerForm

Contents

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' );

[Edit See Also] SeeAlso:JControllerForm

Examples

<CodeExamplesForm />