API17:JSessionStorage::getInstance
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JSessionStorage::getInstance|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JSessionStorage::getInstance|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function getInstance ( |
| + | $name= 'none' | ||
| + | $options=array | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' database A object | |
| − | database A object | + | * '''Defined''' on line 43 of libraries/joomla/session/storage.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/session/storage.php | + | * '''Referenced by''' |
| − | * | + | ** [[JSession::__construct/11.1|JSession::__construct]] |
| − | + | ||
| − | * [[JSession::__construct/11.1|JSession::__construct]] | + | |
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JSessionStorage::getInstance source code''' on [[jplatform:session/storage.php#cl-35|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JSessionStorage/11.1|JSessionStorage]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Session/11.1|Session]] | ||
| + | * [[JSessionStorage::getInstance|Other versions of JSessionStorage::getInstance]] | ||
| + | {{SeeAlso:JSessionStorage::getInstance}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JSessionStorage::getInstance|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JSessionStorage::getInstance|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 54: | Line 54: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JSessionStorage]][[Category:JSessionStorage::getInstance]]</noinclude> | <noinclude>[[Category:JSessionStorage]][[Category:JSessionStorage::getInstance]]</noinclude> | ||
Revision as of 21:37, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JSessionStorage::getInstance
Description
Returns a session storage handler object, only creating it if it doesn't already exist.
Description:JSessionStorage::getInstance [Edit Descripton]
public static function getInstance ( $name= 'none' $options=array )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | name | 'none' | The session store to instantiate |
| $options | array() |
- Returns database A object
- Defined on line 43 of libraries/joomla/session/storage.php
- Since
- Referenced by
See also
-
JSessionStorage::getInstance source code on BitBucket
-
Class JSessionStorage
-
Subpackage Session
- Other versions of JSessionStorage::getInstance
SeeAlso:JSessionStorage::getInstance [Edit See Also]
User contributed notes
<CodeExamplesForm />
