| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 280 lignes (9 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
sfPDOSessionStorage:: (8 méthodes):
initialize()
sessionClose()
sessionDestroy()
sessionGC()
sessionOpen()
sessionRead()
sessionWrite()
shutdown()
Classe: sfPDOSessionStorage - X-Ref
Provides support for session storage using a PDO database abstraction layer.| initialize($context, $parameters = null) X-Ref |
| Initializes this Storage instance. param: sfContext A sfContext instance param: array An associative array of initialization parameters return: boolean true, if initialization completes successfully, otherwise false |
| sessionClose() X-Ref |
| Closes a session. return: boolean true, if the session was closed, otherwise false |
| sessionDestroy($id) X-Ref |
| Destroys a session. param: string A session ID return: boolean true, if the session was destroyed, otherwise an exception is thrown |
| sessionGC($lifetime) X-Ref |
| Cleans up old sessions. param: int The lifetime of a session return: boolean true, if old sessions have been cleaned, otherwise an exception is thrown |
| sessionOpen($path, $name) X-Ref |
| Opens a session. param: string param: string return: boolean true, if the session was opened, otherwise an exception is thrown |
| sessionRead($id) X-Ref |
| Reads a session. param: string A session ID return: boolean true, if the session was read, otherwise an exception is thrown |
| sessionWrite($id, $data) X-Ref |
| Writes session data. param: string A session ID param: string A serialized chunk of session data return: boolean true, if the session was written, otherwise an exception is thrown |
| shutdown() X-Ref |
| Executes the shutdown procedure. |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |