Actions

API17

Difference between revisions of "JHtmlForm::token"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JHtmlForm::token|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JHtmlForm::token|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JHtmlForm::token ()
+
public static function token ()
 
</source>
 
</source>
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 32 of libraries/joomla/html/html/form.php
===Defined in===
+
libraries/joomla/html/html/form.php (line 32)
+
* see source code in [[jplatform:html/html/form.php#cl-32|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{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}} Subpackage [[Subpackage_Html/11.1|Html]]
 +
* [[JHtmlForm::token|Other versions of JHtmlForm::token]]
 +
{{SeeAlso:JHtmlForm::token}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlForm::token|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlForm::token|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JHtmlForm/11.1|JHtmlForm]]
+
===User contributed notes===
* [[JHtmlForm::token|Other versions of this method]]
+
{{SeeAlso:JHtmlForm::token}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 33: Line 30:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JHtmlForm]][[Category:JHtmlForm::token]]</noinclude>
 
<noinclude>[[Category:JHtmlForm]][[Category:JHtmlForm::token]]</noinclude>

Revision as of 20:06, 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 JHtmlForm::token

Description

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

Description:JHtmlForm::token [Edit Descripton]

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

See also

SeeAlso:JHtmlForm::token [Edit See Also]

User contributed notes

<CodeExamplesForm />