API17

Difference between revisions of "JControllerForm::edit"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (preparing for archive only)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Method to edit an existing record.  
 
Method to edit an existing record.  
  
{{Description:JControllerForm::edit}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JControllerForm::edit|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public function edit (
 
public function edit (
Line 37: Line 35:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JControllerForm::edit source code''' on [[jplatform:application/component/controllerform.php#cl-270|BitBucket]]
 
* {{JVer|11.1}} '''JControllerForm::edit source code''' on [[jplatform:application/component/controllerform.php#cl-270|BitBucket]]
* {{JVer|11.1}} Class [[JControllerForm/11.1|JControllerForm]]
+
* {{JVer|11.1}} Class [[API17:JControllerForm|JControllerForm]]
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[JControllerForm::edit|Other versions of JControllerForm::edit]]
+
* [[API17:JControllerForm::edit|Other versions of JControllerForm::edit]]
{{SeeAlso:JControllerForm::edit}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JControllerForm::edit|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JControllerForm::edit
 
category=JControllerForm::edit
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 55: Line 51:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JControllerForm]][[Category:JControllerForm::edit]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:32, 24 March 2017

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.

Joomla 11.1 JControllerForm::edit[edit]

Description[edit]

Method to edit an existing record.


public function 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 on line 278 of libraries/joomla/application/component/controllerform.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]