Actions

API17

JControllerForm

From Joomla! Documentation

Revision as of 17:51, 23 April 2011 by Doxiki2 (Talk | contribs)

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

Defined in

libraries/joomla/application/component/controllerform.php

Subpackage

Application

Extends

JController

Extended by

Methods

Method name Description
__construct Constructor.
add Method to add a new record.
cancel Method to cancel an edit.
edit Method to edit an existing record.
getModel Method to get a model object, loading it if required.
save Method to save a record.
allowAdd Method to check if you can add a new record.
allowEdit Method to check if you can add a new record.
allowSave Method to check if you can save a new or existing record.
getRedirectToItemAppend Gets the URL arguments to append to an item redirect.
getRedirectToListAppend Gets the URL arguments to append to a list redirect.
postSaveHook Function that allows child controller access to model data after the data has been saved.

Importing

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

See also

SeeAlso:JControllerForm [Edit See Also]

Examples

<CodeExamplesForm />