API16

JControllerForm

From Joomla! Documentation

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Defined in[edit]

libraries/joomla/application/component/controllerform.php

Methods[edit]

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[edit]

jimport( 'joomla.application.component.controllerform' );



Examples[edit]

Code Examples[edit]