Class miSettings

Description

Retrieves settings

  • copyright: Copyright (c) 2007 Mirchev Ideas Ltd. All rights reserved.

Located in /util/Settings.php (line 14)


	
			
Variable Summary
mixed $_settings
Method Summary
static object the singleton ()
mixed get ( $name)
void set (string $name, mixed $value)
void setArray (array $settings)
Variables
mixed $_settings = array() (line 15)
  • access: protected
Methods
static method singleton (line 22)

Returns the settings object

  • return: settings object object
  • access: public
static object the singleton ()
get (line 37)

Returns the setting value for a setting with name $name

  • return: the value
  • access: public
mixed get ( $name)
  • $name
set (line 49)

Sets the setting value for setting with name $name Overwrites previous setting

  • access: public
void set (string $name, mixed $value)
  • string $name
  • mixed $value
setArray (line 60)

Sets multiple settings value Overwrites previous setting

  • access: public
void setArray (array $settings)
  • array $settings: associative array with setting values

Documentation generated on Thu, 08 May 2008 16:57:31 +0300 by phpDocumentor 1.4.1