Class IDS_Init

Description

Framework initiation

This class is used for the purpose to initiate the framework and inhabits functionality to parse the needed configuration file.

Located in /Init.php (line 47)


	
			
Variable Summary
array $config
Method Summary
static object init (string $configPath)
array getConfig ()
string getConfigPath ()
void setConfig ( $config, [boolean $overwrite = false])
void setConfigPath (string $path)
void __clone ()
Variables
array $config = null (line 55)

Holds config settings

  • access: public
Methods
static method init (line 111)

Returns an instance of this class

  • access: public
static object init (string $configPath)
  • string $configPath: the path to the config file
getConfig (line 172)

Returns the config array

  • return: the config array
  • access: public
array getConfig ()
getConfigPath (line 144)

Returns path to configuration file

  • access: public
string getConfigPath ()
setConfig (line 157)

Merges new settings into the exsiting ones or overwrites them

  • access: public
void setConfig ( $config, [boolean $overwrite = false])
  • array $config: the config array
  • boolean $overwrite: config overwrite flag
setConfigPath (line 128)

Sets the path to the configuration file

  • throws: Exception if file not found
  • access: public
void setConfigPath (string $path)
  • string $path: the path to the config
__clone (line 100)

Permitting to clone this object

For the sake of correctness of a singleton pattern, this is necessary

  • access: public
void __clone ()

Documentation generated on Fri, 14 Dec 2007 16:12:54 +0100 by phpDocumentor 1.4.0