Class Settings

Description

Define the Settings class which is a Singleton used to hold global variables stored in the configuration files and running script.

Located in /lib/Settings.php (line 24)


	
			
Method Summary
 static object Current getInstance ()
 array getAllProps ()
 mixed __get (mixed $key)
Methods
static getInstance (line 73)

Get instance of this class

  • return: instance
  • access: public
object Current getInstance ()
getAllProps (line 99)

Return all properties defined. This method is here only for debugging purposes, please delete it after

  • return: All properties present
  • access: public
array getAllProps ()
__get (line 87)

Get the value of one property if it exists

  • return: The value of the wanted property, or false if such a property doesn't exist
  • access: public
mixed __get (mixed $key)
  • mixed $key: Property to lookup

Documentation generated on Mon, 06 Oct 2008 01:10:40 +0200 by phpDocumentor 1.4.0