Difference between revisions of "JFactory::getSession"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JFactory::getSession|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JFactory::getSession|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function getSession ($options=array()) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 25: | Line 24: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' | |
− | + | * '''Defined''' on line 97 of libraries/joomla/factory.php | |
− | + | * '''Referenced by''' | |
− | libraries/joomla/factory.php | + | ** [[JApplication::_createSession/11.1|JApplication::_createSession]] |
− | * | + | ** [[JApplication::checkSession/11.1|JApplication::checkSession]] |
− | + | ** [[JRequest::checkToken/11.1|JRequest::checkToken]] | |
− | * [[JApplication::_createSession/11.1|JApplication::_createSession]] | + | ** [[JClientHelper::getCredentials/11.1|JClientHelper::getCredentials]] |
− | * [[JApplication::checkSession/11.1|JApplication::checkSession]] | + | ** [[JSession::getFormToken/11.1|JSession::getFormToken]] |
− | * [[JRequest::checkToken/11.1|JRequest::checkToken]] | + | ** [[JUtility::getToken/11.1|JUtility::getToken]] |
− | * [[JClientHelper::getCredentials/11.1|JClientHelper::getCredentials]] | + | ** [[JClientHelper::hasCredentials/11.1|JClientHelper::hasCredentials]] |
− | * [[JSession::getFormToken/11.1|JSession::getFormToken]] | + | ** [[JControllerAdmin::publish/11.1|JControllerAdmin::publish]] |
− | * [[JUtility::getToken/11.1|JUtility::getToken]] | + | ** [[JApplication::redirect/11.1|JApplication::redirect]] |
− | * [[JClientHelper::hasCredentials/11.1|JClientHelper::hasCredentials]] | + | ** [[JControllerForm::save/11.1|JControllerForm::save]] |
− | * [[JControllerAdmin::publish/11.1|JControllerAdmin::publish]] | + | ** [[JClientHelper::setCredentials/11.1|JClientHelper::setCredentials]] |
− | * [[JApplication::redirect/11.1|JApplication::redirect]] | ||
− | * [[JControllerForm::save/11.1|JControllerForm::save]] | ||
− | * [[JClientHelper::setCredentials/11.1|JClientHelper::setCredentials]] | ||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JFactory::getSession source code''' on [[jplatform:factory.php#cl-89|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JFactory/11.1|JFactory]] | ||
+ | * [[JFactory::getSession|Other versions of JFactory::getSession]] | ||
+ | {{SeeAlso:JFactory::getSession}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JFactory::getSession|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JFactory::getSession|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 57: | Line 54: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JFactory]][[Category:JFactory::getSession]]</noinclude> | <noinclude>[[Category:JFactory]][[Category:JFactory::getSession]]</noinclude> |
Revision as of 20:55, 27 April 2011
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.
JFactory::getSession[edit]
Description[edit]
Get a session object.
Template:Description:JFactory::getSession [Edit Descripton]
public static function getSession ($options=array())
Parameter | Type | Default | Description |
---|---|---|---|
$options | array() |
- Returns
- Defined on line 97 of libraries/joomla/factory.php
- Referenced by
See also[edit]
- JFactory::getSession source code on BitBucket
- Class JFactory
- Other versions of JFactory::getSession
Template:SeeAlso:JFactory::getSession [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />