API17:JControllerForm::save
From Joomla! Documentation
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.
JControllerForm::save
Description
Method to save a record.
Description:JControllerForm::save [Edit Descripton]
Since
Synopsis
public JControllerForm::save ($key=null, $urlVar=null)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $key | string | null | The name of the primary key of the URL variable. |
| $urlVar | string | null | The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). |
Returns
Boolean True if successful, false otherwise.
Defined in
libraries/joomla/application/component/controllerform.php (line 421)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
