Class Socialveo\Core\session\FakeSession

InheritanceSocialveo\Core\session\FakeSession » Phalcon\Session\Adapter

Class FakeSession

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__destruct() Destructor Socialveo\Core\session\FakeSession
__get() Alias: Gets a session variable from an application context Socialveo\Core\session\FakeSession
__isset() Alias: Check whether a session variable is set in an application context Socialveo\Core\session\FakeSession
__set() Alias: Sets a session variable in an application context Socialveo\Core\session\FakeSession
__unset() Alias: Removes a session variable from an application context Socialveo\Core\session\FakeSession
destroy() Destroys the active session Socialveo\Core\session\FakeSession
get() Gets a session variable from an application context Socialveo\Core\session\FakeSession
getId() Returns active session id Socialveo\Core\session\FakeSession
getName() Get session name Socialveo\Core\session\FakeSession
has() Check whether a session variable is set in an application context Socialveo\Core\session\FakeSession
isStarted() Check whether the session has been started Socialveo\Core\session\FakeSession
regenerateId() {@inheritdoc} Socialveo\Core\session\FakeSession
remove() Removes a session variable from an application context Socialveo\Core\session\FakeSession
set() Sets a session variable in an application context Socialveo\Core\session\FakeSession
setId() Set the current session id Socialveo\Core\session\FakeSession
setName() Set session name Socialveo\Core\session\FakeSession
start() Starts the session (if headers are already sent the session will not be started) Socialveo\Core\session\FakeSession
status() Returns the status of the current session. Socialveo\Core\session\FakeSession

Method Details

__destruct() public method

Destructor

public void __destruct ( )
__get() public method

Alias: Gets a session variable from an application context

public null|void __get ( $index )
$index string
__isset() public method

Alias: Check whether a session variable is set in an application context

public boolean __isset ( $index )
$index string
__set() public method

Alias: Sets a session variable in an application context

public null|void __set ( $index, $value )
$index string
$value mixed
__unset() public method

Alias: Removes a session variable from an application context

public void __unset ( $index )
$index string
destroy() public method

Destroys the active session

public boolean destroy ( $removeData false )
$removeData boolean
get() public method

Gets a session variable from an application context

public mixed|null get ( $index, $defaultValue null, $remove false )
$index string
$defaultValue null
$remove boolean
getId() public method

Returns active session id

public null getId ( )
getName() public method

Get session name

public mixed|null getName ( )
has() public method

Check whether a session variable is set in an application context

public boolean has ( $index )
$index string
isStarted() public method

Check whether the session has been started

public boolean isStarted ( )
regenerateId() public method

{@inheritdoc}

public mixed|null regenerateId ( $deleteOldSession true )
$deleteOldSession
remove() public method

Removes a session variable from an application context

public void remove ( $index )
$index string
set() public method

Sets a session variable in an application context

public void set ( $index, $value )
$index string
$value mixed
setId() public method

Set the current session id

public void setId ( $id )
$id string
setName() public method

Set session name

public void setName ( $name )
$name string
start() public method

Starts the session (if headers are already sent the session will not be started)

public boolean start ( )
status() public method

Returns the status of the current session.

public integer status ( )