diff -r bd595ad770fc -r 1c2f13fd785c web/enmi/Zend/Service/WindowsAzure/Diagnostics/ConfigurationObjectBaseAbstract.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/enmi/Zend/Service/WindowsAzure/Diagnostics/ConfigurationObjectBaseAbstract.php Thu Jan 20 19:30:54 2011 +0100 @@ -0,0 +1,71 @@ +_data)) { + $this->_data[strtolower($name)] = $value; + return; + } + + throw new Zend_Service_WindowsAzure_Diagnostics_Exception("Unknown property: " . $name); + } + + /** + * Magic overload for getting properties + * + * @param string $name Name of the property + */ + public function __get($name) { + if (array_key_exists(strtolower($name), $this->_data)) { + return $this->_data[strtolower($name)]; + } + + throw new Zend_Service_WindowsAzure_Diagnostics_Exception("Unknown property: " . $name); + } +} \ No newline at end of file