PHPLights/Documentation/Interfaces/LsConfigIface
From Linuxnetworks
< PHPLights | Documentation | Interfaces
Synopsis
interface LsConfigIface
{
public static function get( $name, $default = NULL );
public static function set( $name, $value );
public static function has( $name );
public function addFile( $key, $file );
}
Description
PHPLights allows multiple ways of storing configuration data of applications. The most often used method is to store them in PHP files whose associative arrays can be added natively to the runtime configuration. However, different file formats or storage mechanisms (like database tables) are possible.
Public functions
get()
public static function get( $name, $default = NULL );
set()
public static function set( $name, $value );
has()
public static function has( $name );
addFile()
public function addFile( $key, $file );