Session
Session
Session Class
- Full name: \Gibbon\Session
Methods
- __construct — Construct
- setDatabaseConnection — Set Database Connection
- guid — Return the guid string TODO: Remove this
- get — Get Session Value
- set — Set Session Value
- setAll — Set Multiple Session Values
- loadSystemSettings
- loadLanguageSettings
- createUserSession
- cacheFastFinderActions — Cache translated FastFinder actions to allow searching actions with the current locale
__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 )