mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 19:18:44 +02:00
Session management: Add PHPDoc
This commit is contained in:
@@ -85,7 +85,7 @@ class LoginForm extends AbstractLoginFSMExtension implements iLoginUIExtension
|
|||||||
if (Session::IsSet('auth_user'))
|
if (Session::IsSet('auth_user'))
|
||||||
{
|
{
|
||||||
// If FSM reenter this state (example 2FA) then the auth_user is not resubmitted
|
// If FSM reenter this state (example 2FA) then the auth_user is not resubmitted
|
||||||
$sAuthUser =Session::Get('auth_user');
|
$sAuthUser = Session::Get('auth_user');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ class privUITransaction
|
|||||||
/**
|
/**
|
||||||
* The original (and by default) mechanism for storing transaction information
|
* The original (and by default) mechanism for storing transaction information
|
||||||
* as an array in the _SESSION variable
|
* as an array in the _SESSION variable
|
||||||
* @see Session
|
* @see \Combodo\iTop\Application\Helper\Session
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class privUITransactionSession
|
class privUITransactionSession
|
||||||
|
|||||||
@@ -16,8 +16,11 @@ namespace Combodo\iTop\Application\Helper;
|
|||||||
*/
|
*/
|
||||||
class Session
|
class Session
|
||||||
{
|
{
|
||||||
|
/** @var int|null */
|
||||||
public static $iSessionId = null;
|
public static $iSessionId = null;
|
||||||
|
/** @var bool */
|
||||||
protected static $bIsInitialized = false;
|
protected static $bIsInitialized = false;
|
||||||
|
/** @var bool */
|
||||||
protected static $bSessionStarted = false;
|
protected static $bSessionStarted = false;
|
||||||
|
|
||||||
public static function Start()
|
public static function Start()
|
||||||
|
|||||||
Reference in New Issue
Block a user