diff -r 2251fb41dbc7 -r 1e110b03ae96 web/lib/Zend/Service/WindowsAzure/Management/ServiceEntityAbstract.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Service/WindowsAzure/Management/ServiceEntityAbstract.php Sun Apr 21 21:54:24 2013 +0200 @@ -0,0 +1,67 @@ +_data)) { + $this->_data[strtolower($name)] = $value; + return; + } + require_once 'Zend/Service/WindowsAzure/Management/Exception.php'; + throw new Zend_Service_WindowsAzure_Management_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)]; + } + require_once 'Zend/Service/WindowsAzure/Management/Exception.php'; + throw new Zend_Service_WindowsAzure_Management_Exception("Unknown property: " . $name); + } +}