Difference between revisions of "JSessionStorageMemcache"
From Joomla! Documentation
m (JoomlaWikiBot moved page JSessionStorageMemcache/11.1 to API17:JSessionStorageMemcache without leaving a redirect: Robot: Moved page) |
m (preparing for archive only) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
=={{JVer|11.1}} JSessionStorageMemcache== | =={{JVer|11.1}} JSessionStorageMemcache== | ||
===Description=== | ===Description=== | ||
− | + | ||
− | + | ||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 14: | Line 12: | ||
|- | |- | ||
|public | |public | ||
− | |[[JSessionStorageMemcache::close | + | |[[API17:JSessionStorageMemcache::close|close]] |
|Close the SessionHandler backend. | |Close the SessionHandler backend. | ||
|- | |- | ||
|public | |public | ||
− | |[[JSessionStorageMemcache::destroy | + | |[[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. | ||
|- | |- | ||
|public | |public | ||
− | |[[JSessionStorageMemcache::gc | + | |[[API17:JSessionStorageMemcache::gc|gc]] |
|Garbage collect stale sessions from the SessionHandler backend. | |Garbage collect stale sessions from the SessionHandler backend. | ||
|- | |- | ||
|public | |public | ||
− | |[[JSessionStorageMemcache::open | + | |[[API17:JSessionStorageMemcache::open|open]] |
|Open the SessionHandler backend. | |Open the SessionHandler backend. | ||
|- | |- | ||
|public | |public | ||
− | |[[JSessionStorageMemcache::read | + | |[[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. | ||
|- | |- | ||
|public | |public | ||
− | |[[JSessionStorageMemcache::write | + | |[[API17:JSessionStorageMemcache::write|write]] |
|Write session data to the SessionHandler backend. | |Write session data to the SessionHandler backend. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JSessionStorageMemcache::test | + | |[[API17:JSessionStorageMemcache::test|test]] |
|Test to see if the SessionHandler is available. | |Test to see if the SessionHandler is available. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JSessionStorageMemcache::__construct | + | |[[API17:JSessionStorageMemcache::__construct|__construct]] |
|Constructor. | |Constructor. | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/session/storage/memcache.php | * '''Defined in''' libraries/joomla/session/storage/memcache.php | ||
− | * '''Extends''' [[JSessionStorage | + | * '''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=== | ||
* {{JVer|11.1}} '''JSessionStorageMemcache source code''' on [[jplatform:session/storage/memcache.php|BitBucket]] | * {{JVer|11.1}} '''JSessionStorageMemcache source code''' on [[jplatform:session/storage/memcache.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Session | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Session|Session]] |
− | * [[JSessionStorageMemcache|Other versions of JSessionStorageMemcache]] | + | * [[API17:JSessionStorageMemcache|Other versions of JSessionStorageMemcache]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JSessionStorageMemcache | category=JSessionStorageMemcache | ||
− | + | namespace=CodeExample | |
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
Line 69: | Line 65: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <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.
JSessionStorageMemcache[edit]
Description[edit]
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
User contributed notes[edit]
Code Examples[edit]