diff -r 000000000000 -r 4eba9c11703f web/Zend/Service/WindowsAzure/Storage/StorageEntityAbstract.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Service/WindowsAzure/Storage/StorageEntityAbstract.php Mon Dec 13 18:29:26 2010 +0100 @@ -0,0 +1,73 @@ +_data)) { + $this->_data[strtolower($name)] = $value; + return; + } + + throw new 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 Exception("Unknown property: " . $name); + } +}