Property | Type | Description | |
---|---|---|---|
$_db | MongoCollection | MongoCollection object for the storage table. | |
$_indices | array | Indices list. | |
$_locked | boolean | Is the session locked. |
Method | Description | |
---|---|---|
__construct ( array $params = [] ) | Constructor. | |
checkMongoIndices ( ) | ||
close ( ) | ||
createMongoIndices ( ) | ||
destroy ( $id ) | ||
gc ( $maxlifetime = 300 ) | ||
getSessionIDs ( ) | ||
open ( $save_path = null, $session_name = null ) | ||
read ( $id ) | ||
write ( $id, $session_data ) |
public __construct ( array $params = [] ) | ||
$params | array | Parameters:
collection: (string) The collection to store data in. mongo_db: (Horde_Mongo_Client) [REQUIRED] The Mongo client object. |
protected MongoCollection $_db | ||
return | MongoCollection |