| [ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 268 lines (10 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
LegacyPdoSessionHandler:: (9 methods):
__construct()
open()
close()
destroy()
gc()
read()
write()
getMergeSql()
getConnection()
Class: LegacyPdoSessionHandler - 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 |
| getConnection() X-Ref |
| Return a PDO instance. return: \PDO |
| Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |