Свойство | Тип | Описание | |
---|---|---|---|
$_automaticCleaningFactor | integer | Automatic cleaning factor of expired sessions value zero means no automatic cleaning, one means automatic cleaning each time a session is closed, and x>1 means cleaning once in x calls | |
$_lifeTime | integer | Session lifetime | |
$_read | Varien_Db_Adapter_Interface | Database read connection | |
$_sessionTable | string | Session data table name | |
$_write | Varien_Db_Adapter_Interface | Database write connection |
Метод | Описание | |
---|---|---|
__construct ( ) | Constructor | |
__destruct ( ) | Destrucor | |
close ( ) : boolean | Close session | |
destroy ( string $sessId ) : boolean | Destroy session | |
gc ( integer $sessMaxLifeTime ) : boolean | Garbage collection | |
getLifeTime ( ) : integer | Retrieve session life time | |
hasConnection ( ) : boolean | Check DB connection | |
open ( string $savePath, string $sessName ) : boolean | Open session | |
read ( string $sessId ) : string | Fetch session data | |
setSaveHandler ( ) : Mage_Core_Model_Resource_Session | Setup save handler | |
setStaticSaveHandler ( ) | Adds session handler via static call | |
write ( string $sessId, string $sessData ) : boolean | Update session |
public getLifeTime ( ) : integer | ||
Результат | integer |
public hasConnection ( ) : boolean | ||
Результат | boolean |
public setSaveHandler ( ) : Mage_Core_Model_Resource_Session | ||
Результат | Mage_Core_Model_Resource_Session |
public static setStaticSaveHandler ( ) |
protected int $_automaticCleaningFactor | ||
Результат | integer |
protected Varien_Db_Adapter_Interface $_read | ||
Результат | Varien_Db_Adapter_Interface |
protected string $_sessionTable | ||
Результат | string |