Difference between revisions of "JControllerForm"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (→User contributed notes: bad link repair) |
||
Line 85: | Line 85: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JControllerForm]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JControllerForm]]</noinclude> |
Revision as of 13:33, 29 August 2012
The "API17" 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.
JControllerForm[edit]
Description[edit]
Template:Description:JControllerForm [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | add | Method to add a new record. |
public | cancel | Method to cancel an edit. |
public | edit | Method to edit an existing record. |
public | getModel | Method to get a model object, loading it if required. |
public | save | Method to save a record. |
protected | allowAdd | Method to check if you can add a new record. |
protected | allowEdit | Method to check if you can add a new record. |
protected | allowSave | Method to check if you can save a new or existing record. |
protected | getRedirectToItemAppend | Gets the URL arguments to append to an item redirect. |
protected | getRedirectToListAppend | Gets the URL arguments to append to a list redirect. |
protected | postSaveHook | Function that allows child controller access to model data after the data has been saved. |
- Defined in libraries/joomla/application/component/controllerform.php
- Extends JController
Importing[edit]
jimport( 'joomla.application.component.controllerform' );
See also[edit]
- JControllerForm source code on BitBucket
- Subpackage Application
- Other versions of JControllerForm
Template:SeeAlso:JControllerForm [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />