Methods summary
public static
integer
|
#
getTTL( )
Get session TTL (seconds)
Get session TTL (seconds)
Returns
integer
Since
1.0.0
See
____func_see____
|
public
mixed
|
#
__get( string $name )
Getter
Parameters
- $name
string Session cell name
Returns
mixed
Since
1.0.0
See
____func_see____
|
public
|
#
__set( string $name, mixed $value )
Setter
Parameters
- $name
string Session cell name
- $value
mixed Value
Since
1.0.0
See
____func_see____
|
public
boolean
|
#
__isset( string $name )
Check session cell availability
Check session cell availability
Parameters
- $name
string Session cell name
Returns
boolean
Since
1.0.0
See
____func_see____
|
public
|
#
__unset( string $name )
Remove session cell
Parameters
- $name
string Session cell name
Since
1.0.0
See
____func_see____
|
public
mixed
|
#
get( string $name )
Getter DEPRECATE
Parameters
- $name
string Session cell name
Returns
mixed
Since
1.0.0
See
____func_see____
|
public
|
#
set( string $name, mixed $value )
Setter DEPRECATE
Parameters
- $name
string Session cell name
- $value
mixed Value
Since
1.0.0
See
____func_see____
|
public
|
#
restart( )
Restart session
Since
1.0.0
See
____func_see____
|
public
string
|
#
getName( )
Get public session id argument name
Get public session id argument name
Returns
string
Since
1.0.0
See
____func_see____
|
public
string
|
#
getID( )
Get public session id
Returns
string
Since
1.0.0
See
____func_see____
|
public
boolean
|
#
loadBySid( string $sid )
Load session by public session id
Load session by public session id
Parameters
- $sid
string Public session id
Returns
boolean
Since
1.0.0
See
____func_see____
|
public
string
|
#
createFormId( )
Create form id
Returns
string Form id
Since
1.0.0
See
____func_see____
|
public
XLite\Model\Session
|
#
getModel( )
Get model
Returns
Since
1.0.0
See
____func_see____
|
public
XLite\Model\Language
|
#
getLanguage( )
Get language
Returns
Since
1.0.0
See
____func_see____
|
public
|
#
setLanguage( string $language )
Set language
Parameters
- $language
string Language code
Since
1.0.0
See
____func_see____
|
protected
|
#
__construct( )
Constructor
Since
1.0.0
See
____func_see____
|
protected
|
#
clearGarbage( )
Clear expired sessions and other obsolete data
Clear expired sessions and other obsolete data
Since
1.0.0
See
____func_see____
|
protected
boolean
|
#
restoreSession( )
Restore session
Returns
boolean
Since
1.0.0
See
____func_see____
|
protected
array
|
#
detectPublicSessionId( )
Detect public session id
Returns
array (public session id and source)
Since
1.0.0
See
____func_see____
|
protected
|
#
createSession( )
Create session
Since
1.0.0
See
____func_see____
|
protected
|
#
setCookie( )
Set cookie
Since
1.0.0
See
____func_see____
|
protected
|
#
setLCRefererCookie( )
Set referer cookie (this is stored when user register new profile)
Set referer cookie (this is stored when user register new profile)
Since
1.0.1
See
____func_see____
|
protected
array
|
#
getCookieURL( boolean $secure = false )
Get parsed URL for Set-Cookie
Get parsed URL for Set-Cookie
Parameters
- $secure
boolean Secure protocol or not OPTIONAL
Returns
array
Since
1.0.0
See
____func_see____
|
protected
string
|
#
getCookieDomain( boolean $secure = false )
Get host / domain for Set-Cookie
Get host / domain for Set-Cookie
Parameters
- $secure
boolean Secure protocol or not OPTIONAL
Returns
string
Since
1.0.0
See
____func_see____
|
protected
string
|
#
getCookiePath( boolean $secure = false )
Get URL path for Set-Cookie
Get URL path for Set-Cookie
Parameters
- $secure
boolean Secure protocol or not OPTIONAL
Returns
string
Since
1.0.0
See
____func_see____
|
protected
integer
|
#
getLCRefererCookieTTL( )
Get referer cookie TTL (seconds)
Get referer cookie TTL (seconds)
Returns
integer
Since
1.0.1
See
____func_see____
|
protected
string
|
#
getCurrentLanguage( )
Get current language
Returns
string Language code
Since
1.0.0
See
____func_see____
|
protected
string
|
#
defineCurrentLanguage( )
Define current language
Returns
string Language code
Since
1.0.0
See
____func_see____
|