Class

FileSystemDataStore

Package: IO\Data\store Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL ben.popeye@phpboost.com Version: PHPBoost 5.2 - last update: 2016 10 30 Since: PHPBoost 3.0 - 2011 01 11 Contributor: Julien BRISWALTER j1.seth@phpboost.com Located at: io/data/store/FileSystemDataStore.class.php

This data store is not very efficient but is the only one which has an infinite life span when APC is not available. It stores data in the /cache folder.

FileSystemDataStore implements DataStore
Methods summary
public
# __construct( $id )
public mixed
# get( string $id )

Returns the data stored in the $id key.

public boolean
# contains( string $id )

Tells whether the container contains the data at the key $id.

public
# store( string $id, mixed $data )

Stores data.

public
# delete( string $id )

Deletes the data you had stored.

public
# clear( )

Clears all data