API17

API17:JControllerForm::save

From Joomla! Documentation

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples