API17

Difference between revisions of "JControllerForm::cancel"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (preparing for archive only)
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Method to cancel an edit.  
 
Method to cancel an edit.  
  
{{Description:JControllerForm::cancel}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JControllerForm::cancel|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JControllerForm->cancel ($key=null)
+
public function cancel ($key=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 22:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' Boolean True if access level checks pass, false otherwise.
Boolean True if access level checks pass, false otherwise.
+
* '''Defined''' on line 220 of libraries/joomla/application/component/controllerform.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/application/component/controllerform.php
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JControllerForm::cancel source code''' on [[jplatform:application/component/controllerform.php#cl-212|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JControllerForm::cancel|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JControllerForm|JControllerForm]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[JControllerForm/11.1|JControllerForm]]
+
* [[API17:JControllerForm::cancel|Other versions of JControllerForm::cancel]]
* [[JControllerForm::cancel|Other versions of this method]]
+
 
{{SeeAlso:JControllerForm::cancel}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JControllerForm::cancel
 
category=JControllerForm::cancel
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JControllerForm]][[Category:JControllerForm::cancel]]</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::cancel[edit]

Description[edit]

Method to cancel an edit.


public function cancel ($key=null)
Parameter Type Default Description
$key string null The name of the primary key of the URL variable.
  • Returns Boolean True if access level checks pass, false otherwise.
  • Defined on line 220 of libraries/joomla/application/component/controllerform.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]