JSessionStorageMemcache/1.5
From Joomla! Documentation
< JSessionStorageMemcache(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→See also: fixing link to API) |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|1.5}} 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 | ||
|[[JSessionStorageMemcache::__construct/1.5|__construct]] | |[[JSessionStorageMemcache::__construct/1.5|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
| + | |public | ||
|[[JSessionStorageMemcache::_setExpire/1.5|_setExpire]] | |[[JSessionStorageMemcache::_setExpire/1.5|_setExpire]] | ||
|Set expire time on each call since memcache sets it on cache creation. | |Set expire time on each call since memcache sets it on cache creation. | ||
|- | |- | ||
| + | |public | ||
|[[JSessionStorageMemcache::close/1.5|close]] | |[[JSessionStorageMemcache::close/1.5|close]] | ||
|Close the SessionHandler backend. | |Close the SessionHandler backend. | ||
|- | |- | ||
| + | |public | ||
|[[JSessionStorageMemcache::destroy/1.5|destroy]] | |[[JSessionStorageMemcache::destroy/1.5|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 | ||
|[[JSessionStorageMemcache::gc/1.5|gc]] | |[[JSessionStorageMemcache::gc/1.5|gc]] | ||
|Garbage collect stale sessions from the SessionHandler backend. | |Garbage collect stale sessions from the SessionHandler backend. | ||
|- | |- | ||
| + | |public | ||
|[[JSessionStorageMemcache::open/1.5|open]] | |[[JSessionStorageMemcache::open/1.5|open]] | ||
|Open the SessionHandler backend. | |Open the SessionHandler backend. | ||
|- | |- | ||
| + | |public | ||
|[[JSessionStorageMemcache::read/1.5|read]] | |[[JSessionStorageMemcache::read/1.5|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 | ||
|[[JSessionStorageMemcache::write/1.5|write]] | |[[JSessionStorageMemcache::write/1.5|write]] | ||
|Write session data to the SessionHandler backend. | |Write session data to the SessionHandler backend. | ||
|- | |- | ||
| + | |public | ||
|[[JSessionStorageMemcache::test/1.5|test]] | |[[JSessionStorageMemcache::test/1.5|test]] | ||
|Test to see if the SessionHandler is available. | |Test to see if the SessionHandler is available. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/session/storage/memcache.php | ||
| + | * '''Extends''' [[JSessionStorage/1.5|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|1.5}} '''JSessionStorageMemcache''' on [http://api.joomla.org/1.5/Joomla-Framework/Session/JSessionStorageMemcache.html api.joomla.org] | ||
| + | * {{JVer|1.5}} '''JSessionStorageMemcache source code''' on [[jframework15:session/storage/memcache.php|JoomlaCode]] | ||
| + | * {{JVer|1.5}} Subpackage [[Subpackage Session/1.5|Session]] | ||
| + | * [[JSessionStorageMemcache|Other versions of 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 62: | Line 71: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JSessionStorageMemcache]]</noinclude> | <noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JSessionStorageMemcache]]</noinclude> | ||
Latest revision as of 16:05, 13 February 2013
[edit]
JSessionStorageMemcache
[edit] Description
Description:JSessionStorageMemcache [Edit Descripton]
[edit] Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| public | _setExpire | Set expire time on each call since memcache sets it on cache creation. |
| 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 | test | Test to see if the SessionHandler is available. |
- Defined in libraries/joomla/session/storage/memcache.php
- Extends JSessionStorage
[edit] Importing
jimport( 'joomla.session.storage.memcache' );
[edit] See also
-
JSessionStorageMemcache on api.joomla.org
-
JSessionStorageMemcache source code on JoomlaCode
-
Subpackage Session
- Other versions of JSessionStorageMemcache
SeeAlso:JSessionStorageMemcache [Edit See Also]
[edit] User contributed notes
<CodeExamplesForm />