SDK for PHP 3.x

SessionConnectionConfigTrait

Table of Contents

Methods

getBatchConfig()  : mixed
getDataAttribute()  : string
getDataAttributeType()  : string
getHashKey()  : string
getMaxLockRetryMicrotime()  : number
getMaxLockWaitTime()  : number
getMinLockRetryMicrotime()  : number
getSessionLifetime()  : number
getSessionLifetimeAttribute()  : string
getTableName()  : string
initConfig()  : mixed
It initialize the Config class and it sets values in case of valid configurations.
isConsistentRead()  : bool
isLocking()  : bool
setBatchConfig()  : mixed
setConsistentRead()  : mixed
setDataAttribute()  : mixed
setDataAttributeType()  : mixed
setHashKey()  : mixed
setLocking()  : mixed
setMaxLockRetryMicrotime()  : mixed
setMaxLockWaitTime()  : mixed
setMinLockRetryMicrotime()  : mixed
setSessionLifetime()  : mixed
setSessionLifetimeAttribute()  : mixed
setTableName()  : mixed

Methods

getBatchConfig()

public getBatchConfig() : mixed

getDataAttribute()

public getDataAttribute() : string
Return values
string

getDataAttributeType()

public getDataAttributeType() : string
Return values
string

getHashKey()

public getHashKey() : string
Return values
string

getMaxLockRetryMicrotime()

public getMaxLockRetryMicrotime() : number
Return values
number

getMaxLockWaitTime()

public getMaxLockWaitTime() : number
Return values
number

getMinLockRetryMicrotime()

public getMinLockRetryMicrotime() : number
Return values
number

getSessionLifetime()

public getSessionLifetime() : number
Return values
number

getSessionLifetimeAttribute()

public getSessionLifetimeAttribute() : string
Return values
string

getTableName()

public getTableName() : string
Return values
string

initConfig()

It initialize the Config class and it sets values in case of valid configurations.

public initConfig([array<string|int, mixed> $config = [] ]) : mixed

It transforms parameters underscore separated in camelcase "this_is_a_test" => ThisIsATest and it uses it in order to set the values.

Parameters
$config : array<string|int, mixed> = []

isConsistentRead()

public isConsistentRead() : bool
Return values
bool

isLocking()

public isLocking() : bool
Return values
bool

setBatchConfig()

public setBatchConfig(mixed $batchConfig) : mixed
Parameters
$batchConfig : mixed

setConsistentRead()

public setConsistentRead(bool $consistentRead) : mixed
Parameters
$consistentRead : bool

setDataAttribute()

public setDataAttribute(string $dataAttribute) : mixed
Parameters
$dataAttribute : string

setDataAttributeType()

public setDataAttributeType(string $dataAttributeType) : mixed
Parameters
$dataAttributeType : string

setHashKey()

public setHashKey(string $hashKey) : mixed
Parameters
$hashKey : string

setLocking()

public setLocking(bool $locking) : mixed
Parameters
$locking : bool

setMaxLockRetryMicrotime()

public setMaxLockRetryMicrotime(number $maxLockRetryMicrotime) : mixed
Parameters
$maxLockRetryMicrotime : number

setMaxLockWaitTime()

public setMaxLockWaitTime(number $maxLockWaitTime) : mixed
Parameters
$maxLockWaitTime : number

setMinLockRetryMicrotime()

public setMinLockRetryMicrotime(number $minLockRetryMicrotime) : mixed
Parameters
$minLockRetryMicrotime : number

setSessionLifetime()

public setSessionLifetime(number $sessionLifetime) : mixed
Parameters
$sessionLifetime : number

setSessionLifetimeAttribute()

public setSessionLifetimeAttribute(string $sessionLifetimeAttribute) : mixed
Parameters
$sessionLifetimeAttribute : string

setTableName()

public setTableName(string $tableName) : mixed
Parameters
$tableName : string
On this page