Actions

API17

Difference between revisions of "JRequest::checkToken"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JRequest::checkToken|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JRequest::checkToken|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JRequest::checkToken ($method= 'post')
+
public static function checkToken ($method= 'post')
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 25: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 432 of libraries/joomla/environment/request.php
===Defined in===
+
* '''Referenced by'''
libraries/joomla/environment/request.php (line 431)
+
** [[JControllerForm::cancel/11.1|JControllerForm::cancel]]
* see source code in [[jplatform:environment/request.php#cl-431|BitBucket]]
+
** [[JControllerAdmin::checkin/11.1|JControllerAdmin::checkin]]
===Referenced by===
+
** [[JControllerAdmin::delete/11.1|JControllerAdmin::delete]]
* [[JControllerForm::cancel/11.1|JControllerForm::cancel]]
+
** [[JControllerAdmin::publish/11.1|JControllerAdmin::publish]]
* [[JControllerAdmin::checkin/11.1|JControllerAdmin::checkin]]
+
** [[JControllerAdmin::reorder/11.1|JControllerAdmin::reorder]]
* [[JControllerAdmin::delete/11.1|JControllerAdmin::delete]]
+
** [[JControllerForm::save/11.1|JControllerForm::save]]
* [[JControllerAdmin::publish/11.1|JControllerAdmin::publish]]
+
** [[JControllerAdmin::saveorder/11.1|JControllerAdmin::saveorder]]
* [[JControllerAdmin::reorder/11.1|JControllerAdmin::reorder]]
+
* [[JControllerForm::save/11.1|JControllerForm::save]]
+
* [[JControllerAdmin::saveorder/11.1|JControllerAdmin::saveorder]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JRequest::checkToken source code''' on [[jplatform:environment/request.php#cl-424|BitBucket]]
 +
* {{JVer|11.1}} Class [[JRequest/11.1|JRequest]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]]
 +
* [[JRequest::checkToken|Other versions of JRequest::checkToken]]
 +
{{SeeAlso:JRequest::checkToken}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRequest::checkToken|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JRequest::checkToken|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JRequest/11.1|JRequest]]
+
===User contributed notes===
* [[JRequest::checkToken|Other versions of this method]]
+
{{SeeAlso:JRequest::checkToken}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 51:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JRequest]][[Category:JRequest::checkToken]]</noinclude>
 
<noinclude>[[Category:JRequest]][[Category:JRequest::checkToken]]</noinclude>

Revision as of 21:32, 27 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JRequest::checkToken

Description

Checks for a form token in the request.

Description:JRequest::checkToken [Edit Descripton]

public static function checkToken ($method= 'post')
Parameter Type Default Description
$method 'post'

See also

SeeAlso:JRequest::checkToken [Edit See Also]

User contributed notes

<CodeExamplesForm />