Simple flat file database backend.

Creates a file per key.

No locking is done within this backend yet.

Configuration options:

None

todo Implement proper locking
package midcom.services

 Methods

_close ()

This method is unused as we use flat files that are accessed per key

_exists ($key)

Parameters

$key

_get ($key)

Parameters

$key

_on_initialize ()

This handler completes the configuration.

_open ($write)

This method is unused as we use flat files that are accessed per key

Parameters

$write

_put ($key, $data)

Parameters

$key

$data

_remove ($key)

Parameters

$key

_remove_all ()

 Properties

 

string $_dirname

The full directory filename.