Session

Session

Session Class

Methods

__construct

Construct

Session::__construct( \Psr\Container\ContainerInterface $container )

setDatabaseConnection

Set Database Connection

Session::setDatabaseConnection( \Gibbon\Gibbon\Contracts\Database\Connection $pdo )

guid

Return the guid string TODO: Remove this

Session::guid( ): string

Return Value: string


get

Get Session Value

Session::get( $name, $default = null ): mixed

Return Value: mixed


set

Set Session Value

Session::set( $name, $value ): object

Return Value: object Gibbon\session


setAll

Set Multiple Session Values

Session::setAll( array $values ): object

Return Value: object Gibbon\session


loadSystemSettings

Session::loadSystemSettings( \Gibbon\Contracts\Database\Connection $pdo )

loadLanguageSettings

Session::loadLanguageSettings( \Gibbon\Contracts\Database\Connection $pdo )

createUserSession

Session::createUserSession( $username, $userData )

cacheFastFinderActions

Cache translated FastFinder actions to allow searching actions with the current locale

Session::cacheFastFinderActions( string $gibbonRoleIDCurrent )

Last updated : September 15, 2018 b92362d