API17

Difference between revisions of "JSession::hasToken"

From Joomla! Documentation

(Layout updates)
m (→‎See also: moving preparation)
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JSession::hasToken|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JSession::hasToken|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JSession::hasToken ($tCheck, $forceExpire=true)
+
public function hasToken (
 +
        $tCheck
 +
        $forceExpire=true
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 194 of libraries/joomla/session/session.php
===Defined in===
 
libraries/joomla/session/session.php (line 192)
 
* see source code in [[jplatform:session/session.php#cl-192|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JSession::hasToken source code''' on [[jplatform:session/session.php#cl-186|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JSession|JSession]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]]
 +
* [[API17:JSession::hasToken|Other versions of JSession::hasToken]]
 +
{{SeeAlso:JSession::hasToken}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JSession::hasToken|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JSession::hasToken|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JSession/11.1|JSession]]
+
===User contributed notes===
* [[JSession::hasToken|Other versions of this method]]
 
{{SeeAlso:JSession::hasToken}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 51: Line 51:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JSession]][[Category:JSession::hasToken]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:28, 11 May 2013

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 JSession::hasToken[edit]

Description[edit]

Method to determine if a token exists in the session.

Template:Description:JSession::hasToken [Edit Descripton]

public function hasToken (
        $tCheck
        $forceExpire=true
)
Parameter Type Default Description
$tCheck
$forceExpire true
  • Returns
  • Defined on line 194 of libraries/joomla/session/session.php

See also[edit]

Template:SeeAlso:JSession::hasToken [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />