public function getProperty($name) { if (empty($this->_properties)) { $this->getProperties(); } return isset($this->_properties[$name]) ? $this->_properties[$name]->value : null; }