Package: IO\Data\store Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL Version: PHPBoost 5.2 - last update: 2015 06 29 Since: PHPBoost 3.0 - 2009 12 09 Contributor: Loic ROUCHON Contributor: Julien BRISWALTER Located at: io/data/store/DataStoreFactory.class.php

This factory returns you the data store that are the best for your requirements.

Methods summary
public static DataStore
# get_ram_store( string $id )

Returns an efficient data store whose life span can be not infinite.

public static DataStore
# get_filesystem_store( string $id )

Returns an infinite-life span data store that can be not very efficient.

public static
public static
public static
# set_apc_enabled( boolean $enabled )

Enables or disables APC. Writes in the file /cache/apc.php