Class

AbstractConfigData

Abstract Package: io Author: Benoit Sautel <ben.popeye@phpboost.com> Desc: This is a default and minimal implementation of the ConfigData interface. Located at io/data/config/AbstractConfigData.class.php
AbstractConfigData implements ConfigData
Methods summary
public
# __construct( )

Constructs a AbstractConfigData object

final public
# synchronize( )

This method is not used in the configuration context. This method is called when the data needs to be sychronized. For instance,

public
# set_default_values( )

Redefine this method if you want to avoid getting errors while asking 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.

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.

abstract protected string[mixed]
# get_default_values( )