Interface

ConfigData

Package: IO\Data\config Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL ben.popeye@phpboost.com Version: PHPBoost 5.2 - last update: 2014 12 22 Since: PHPBoost 3.0 - 2009 09 16 Located at: io/data/config/ConfigData.class.php

This interface represents configuration data which are stored automatically by the config manager. The storage mode is very powerful, it uses a two-level cache and the database.

They are stored in a map associating a value to a property

ConfigData implements CacheData
Direct known implementers
AbstractConfigData
Methods summary
public string
# get_property( string $name )

Reads a property's value.

public
# set_property( string $name, string $value )

Sets a property value. If the property exists, it overrides its value, otherwise, it creates an entry for this property.

public
# set_default_values( )

Sets the default value to avoid having unexisting values when we use it. If some entries doesn't exist, they can be created here.

Methods inherited from CacheData
synchronize()