Class ConfigFactory

Description

Factory class to get an instance of one of configuration classes

  1.  // ConfigFileStorage example
  2.  $options['key''/full/path/to/config.php';
  3.  $config ConfigFactory::get('filestorage'$options);
  4.  
  5.  // ConfigDBStorage example
  6.  $options['key''/full/path/to/config.php';
  7.  $config ConfigFactory::get('dbstorage'$options);

Located in /contenido/classes/mp/class.confighandler.php (line 332)


	
			
Method Summary
 static IConfigBase get (string $name, array $options)
Methods
static get (line 342)

Returns a instance of desired configuration class

  • return: A object based on a IConfigBase implementation
  • access: public
IConfigBase get (string $name, array $options)
  • string $name: Type of configuration ('filestorage', 'serializer' or 'dbstorage') Note: 'serializer' is deprecated, use 'filestorage' instead
  • array $options: Options array

Documentation generated on Sun, 08 Feb 2009 22:00:25 +0100 by phpDocumentor 1.4.1