API17:JControllerForm::edit
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::edit
Description
Method to edit an existing record.
Description:JControllerForm::edit [Edit Descripton]
Since
Synopsis
public JControllerForm::edit ($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 access level check and checkout passes, false otherwise.
Defined in
libraries/joomla/application/component/controllerform.php (line 278)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
