Difference between revisions of "JSessionStorageApc"
From Joomla! Documentation
(Layout updates) |
m (preparing for archive only) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | =={{JVer|11.1}} JSessionStorageApc== | |
− | + | ===Description=== | |
− | + | ||
− | {{ | + | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | === | ||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
− | | | + | |public |
− | + | |[[API17:JSessionStorageApc::close|close]] | |
− | |||
− | |[[JSessionStorageApc::close | ||
|Close the SessionHandler backend. | |Close the SessionHandler backend. | ||
|- | |- | ||
− | |[[JSessionStorageApc::destroy | + | |public |
+ | |[[API17:JSessionStorageApc::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. | ||
|- | |- | ||
− | |[[JSessionStorageApc::gc | + | |public |
+ | |[[API17:JSessionStorageApc::gc|gc]] | ||
|Garbage collect stale sessions from the SessionHandler backend. | |Garbage collect stale sessions from the SessionHandler backend. | ||
|- | |- | ||
− | |[[JSessionStorageApc::open | + | |public |
+ | |[[API17:JSessionStorageApc::open|open]] | ||
|Open the SessionHandler backend. | |Open the SessionHandler backend. | ||
|- | |- | ||
− | |[[JSessionStorageApc::read | + | |public |
+ | |[[API17:JSessionStorageApc::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. | ||
|- | |- | ||
− | |[[JSessionStorageApc::write | + | |public |
+ | |[[API17:JSessionStorageApc::write|write]] | ||
|Write session data to the SessionHandler backend. | |Write session data to the SessionHandler backend. | ||
|- | |- | ||
− | |[[JSessionStorageApc::test | + | |public static |
+ | |[[API17:JSessionStorageApc::test|test]] | ||
|Test to see if the SessionHandler is available. | |Test to see if the SessionHandler is available. | ||
+ | |- | ||
+ | |protected | ||
+ | |[[API17:JSessionStorageApc::__construct|__construct]] | ||
+ | |Constructor. | ||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/session/storage/apc.php | ||
+ | * '''Extends''' [[API17:JSessionStorage|JSessionStorage]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.session.storage.apc' );</source> | <source lang="php">jimport( 'joomla.session.storage.apc' );</source> | ||
===See also=== | ===See also=== | ||
− | * JSessionStorageApc source code | + | * {{JVer|11.1}} '''JSessionStorageApc source code''' on [[jplatform:session/storage/apc.php|BitBucket]] |
− | * [[ | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Session|Session]] |
− | + | * [[API17:JSessionStorageApc|Other versions of JSessionStorageApc]] | |
− | + | ||
− | + | ||
− | + | ===User contributed notes=== | |
− | ===Examples=== | + | === Code Examples === |
− | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JSessionStorageApc | category=JSessionStorageApc | ||
− | + | namespace=CodeExample | |
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:39, 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.
JSessionStorageApc[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/apc.php
- Extends JSessionStorage
Importing[edit]
jimport( 'joomla.session.storage.apc' );
See also[edit]
- JSessionStorageApc source code on BitBucket
- Subpackage Session
- Other versions of JSessionStorageApc
User contributed notes[edit]
Code Examples[edit]