Methods

All methods in the Solar_Session_Handler_Adapter_Sql class.

Public

__construct()

Constructor.

__destruct()

Destructor; calls session_write_close() so that the session gets written before the object is destroyed.

close()

Close session handler.

destroy()

Destroys session data.

dump()

Convenience method for getting a dump the whole object, or one of its properties, or an external variable.

gc()

Removes old session data (garbage collection).

locale()

Looks up class-specific locale strings based on a key.

open()

Open session handler.

read()

Reads session data.

write()

Writes session data.

Protected

_buildConfig()

Builds and returns the default config for a class, including all configs inherited from its parents.

_exception()

Convenience method for returning exceptions with localized text.

_insert()

Inserts a new session-data row in the database.

_postConfig()

A hook that activates after _buildConfig() in the constructor.

_postConstruct()

Post-construction tasks to complete object construction.

_preConfig()

A hook that activates before _buildConfig() in the constructor.

_setSaveHandler()

Sets session save handler to use the methods in this class.

_update()

Updates an existing session-data row in the database.

Private

None.



Local