[ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 255 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PdoSessionHandler:: (8 methods):
__construct()
open()
close()
destroy()
gc()
read()
write()
getMergeSql()
Class: PdoSessionHandler - X-Ref
Session handler using a PDO connection to read and write data.__construct(\PDO $pdo, array $dbOptions = array() X-Ref |
Constructor. List of available options: * db_table: The name of the table [required] * db_id_col: The column where to store the session id [default: sess_id] * db_data_col: The column where to store the session data [default: sess_data] * db_time_col: The column where to store the timestamp [default: sess_time] param: \PDO $pdo A \PDO instance param: array $dbOptions An associative array of DB options |
open($savePath, $sessionName) X-Ref |
{@inheritdoc} |
close() X-Ref |
{@inheritdoc} |
destroy($sessionId) X-Ref |
{@inheritdoc} |
gc($maxlifetime) X-Ref |
{@inheritdoc} |
read($sessionId) X-Ref |
{@inheritdoc} |
write($sessionId, $data) X-Ref |
{@inheritdoc} |
getMergeSql() X-Ref |
Returns a merge/upsert (i.e. insert or update) SQL query when supported by the database. return: string|null The SQL string or null when not supported |
Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |