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. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function cancel ($key=null) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 22: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''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 |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/application/component/controllerform.php | ||
− | |||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JControllerForm::cancel source code''' on [[jplatform:application/component/controllerform.php#cl-212|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JControllerForm|JControllerForm]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | |
− | * | + | * [[API17:JControllerForm::cancel|Other versions of JControllerForm::cancel]] |
− | * [[JControllerForm::cancel|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JControllerForm::cancel | category=JControllerForm::cancel | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <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.
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
See also[edit]
- JControllerForm::cancel source code on BitBucket
- Class JControllerForm
- Subpackage Application
- Other versions of JControllerForm::cancel
User contributed notes[edit]
Code Examples[edit]