API17

Difference between revisions of "JHtmlForm::token"

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:
 
Displays a hidden token field to reduce the risk of CSRF exploits.  
 
Displays a hidden token field to reduce the risk of CSRF exploits.  
  
{{Description:JHtmlForm::token}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JHtmlForm::token|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public static function token ()
 
public static function token ()
Line 15: Line 13:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JHtmlForm::token source code''' on [[jplatform:html/html/form.php#cl-24|BitBucket]]
 
* {{JVer|11.1}} '''JHtmlForm::token source code''' on [[jplatform:html/html/form.php#cl-24|BitBucket]]
* {{JVer|11.1}} Class [[JHtmlForm/11.1|JHtmlForm]]
+
* {{JVer|11.1}} Class [[API17:JHtmlForm|JHtmlForm]]
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]]
* [[JHtmlForm::token|Other versions of JHtmlForm::token]]
+
* [[API17:JHtmlForm::token|Other versions of JHtmlForm::token]]
{{SeeAlso:JHtmlForm::token}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlForm::token|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JHtmlForm::token
 
category=JHtmlForm::token
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 33: Line 29:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JHtmlForm]][[Category:JHtmlForm::token]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:11, 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 JHtmlForm::token[edit]

Description[edit]

Displays a hidden token field to reduce the risk of CSRF exploits.


public static function token ()
  • Returns
  • Defined on line 32 of libraries/joomla/html/html/form.php

See also[edit]


User contributed notes[edit]

Code Examples[edit]