Uses DBA database locking for synchronization.
Configuration options:
- string handler Defines the DBA handler to use. If omitted, autodetection
is attempted.
Methods
_on_initialize ()
This handler completes the configuration.
_open (boolean $write)
Internal helper, which opens a handle to the DBA file in either
read-only or read/write mode.
The handle has to be closed by the
_close() function.
The handle is stored in $_handle
Parameters
$write
boolean
Set to true to enable read/write access with the corresponding exclusive lock. Otherwise
shared read-only mode is used.
Properties
string $_filename
The full database filename.
resource $_handle
The current handle, controlled by _open() and _close().
string $_handler
The handler to use