API17:JControllerForm::save
From Joomla! Documentation
JControllerForm::save
Description
Method to save a record.
public function 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 on line 421 of libraries/joomla/application/component/controllerform.php
- Since

See also
JControllerForm::save source code on BitBucket
Class JControllerForm
Subpackage Application- Other versions of JControllerForm::save
User contributed notes
Code Examples