Difference between revisions of "JSessionStorageMemcache"
From Joomla! Documentation
(Layout updates) |
m (moving preparation) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JSessionStorageMemcache== | ||
+ | ===Description=== | ||
+ | {{Description:JSessionStorageMemcache}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JSessionStorageMemcache|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JSessionStorageMemcache|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
− | | | + | |public |
− | + | |[[API17:JSessionStorageMemcache::close|close]] | |
− | |||
− | |[[ | ||
− | |||
− | |||
− | |||
|Close the SessionHandler backend. | |Close the SessionHandler backend. | ||
|- | |- | ||
− | |[[JSessionStorageMemcache::destroy | + | |public |
+ | |[[API17:JSessionStorageMemcache::destroy|destroy]] | ||
|Destroy the data for a particular session identifier in the SessionHandler backend. | |Destroy the data for a particular session identifier in the SessionHandler backend. | ||
|- | |- | ||
− | |[[JSessionStorageMemcache::gc | + | |public |
+ | |[[API17:JSessionStorageMemcache::gc|gc]] | ||
|Garbage collect stale sessions from the SessionHandler backend. | |Garbage collect stale sessions from the SessionHandler backend. | ||
|- | |- | ||
− | |[[JSessionStorageMemcache::open | + | |public |
+ | |[[API17:JSessionStorageMemcache::open|open]] | ||
|Open the SessionHandler backend. | |Open the SessionHandler backend. | ||
|- | |- | ||
− | |[[JSessionStorageMemcache::read | + | |public |
+ | |[[API17:JSessionStorageMemcache::read|read]] | ||
|Read the data for a particular session identifier from the SessionHandler backend. | |Read the data for a particular session identifier from the SessionHandler backend. | ||
|- | |- | ||
− | |[[JSessionStorageMemcache::write | + | |public |
+ | |[[API17:JSessionStorageMemcache::write|write]] | ||
|Write session data to the SessionHandler backend. | |Write session data to the SessionHandler backend. | ||
|- | |- | ||
− | |[[JSessionStorageMemcache::test | + | |public static |
+ | |[[API17:JSessionStorageMemcache::test|test]] | ||
|Test to see if the SessionHandler is available. | |Test to see if the SessionHandler is available. | ||
+ | |- | ||
+ | |protected | ||
+ | |[[API17:JSessionStorageMemcache::__construct|__construct]] | ||
+ | |Constructor. | ||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/session/storage/memcache.php | ||
+ | * '''Extends''' [[API17:JSessionStorage|JSessionStorage]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.session.storage.memcache' );</source> | <source lang="php">jimport( 'joomla.session.storage.memcache' );</source> | ||
===See also=== | ===See also=== | ||
− | * JSessionStorageMemcache source code | + | * {{JVer|11.1}} '''JSessionStorageMemcache source code''' on [[jplatform:session/storage/memcache.php|BitBucket]] |
− | * [[JSessionStorageMemcache|Other versions of | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Session|Session]] |
+ | * [[API17:JSessionStorageMemcache|Other versions of JSessionStorageMemcache]] | ||
{{SeeAlso:JSessionStorageMemcache}} | {{SeeAlso:JSessionStorageMemcache}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageMemcache|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JSessionStorageMemcache|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 63: | Line 66: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 21:30, 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.
JSessionStorageMemcache[edit]
Description[edit]
Template:Description:JSessionStorageMemcache [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | close | Close the SessionHandler backend. |
public | destroy | Destroy the data for a particular session identifier in the SessionHandler backend. |
public | gc | Garbage collect stale sessions from the SessionHandler backend. |
public | open | Open the SessionHandler backend. |
public | read | Read the data for a particular session identifier from the SessionHandler backend. |
public | write | Write session data to the SessionHandler backend. |
public static | test | Test to see if the SessionHandler is available. |
protected | __construct | Constructor. |
- Defined in libraries/joomla/session/storage/memcache.php
- Extends JSessionStorage
Importing[edit]
jimport( 'joomla.session.storage.memcache' );
See also[edit]
- JSessionStorageMemcache source code on BitBucket
- Subpackage Session
- Other versions of JSessionStorageMemcache
Template:SeeAlso:JSessionStorageMemcache [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />