API17

Difference between revisions of "JSessionStorageDatabase::destroy"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (preparing for archive only)
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Destroy the data for a particular session identifier in the SessionHandler backend.  
 
Destroy the data for a particular session identifier in the SessionHandler backend.  
  
{{Description:JSessionStorageDatabase::destroy}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JSessionStorageDatabase::destroy|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JSessionStorageDatabase->destroy ($id)
+
public function destroy ($id)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 24: Line 19:
 
|string
 
|string
 
|
 
|
|The session identifier.  
+
|The session identifier.
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True on success, false otherwise.
boolean True on success, false otherwise.
+
* '''Defined''' on line 123 of libraries/joomla/session/storage/database.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/session/storage/database.php
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JSessionStorageDatabase::destroy source code''' on [[jplatform:session/storage/database.php#cl-115|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageDatabase::destroy|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JSessionStorageDatabase|JSessionStorageDatabase]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]]
* [[JSessionStorageDatabase/11.1|JSessionStorageDatabase]]
+
* [[API17:JSessionStorageDatabase::destroy|Other versions of JSessionStorageDatabase::destroy]]
* [[JSessionStorageDatabase::destroy|Other versions of this method]]
+
 
{{SeeAlso:JSessionStorageDatabase::destroy}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JSessionStorageDatabase::destroy
 
category=JSessionStorageDatabase::destroy
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JSessionStorageDatabase]][[Category:JSessionStorageDatabase::destroy]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:40, 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 JSessionStorageDatabase::destroy[edit]

Description[edit]

Destroy the data for a particular session identifier in the SessionHandler backend.


public function destroy ($id)
Parameter Type Default Description
$id string The session identifier.
  • Returns boolean True on success, false otherwise.
  • Defined on line 123 of libraries/joomla/session/storage/database.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]