_getMappedPropertyName($name); if (property_exists($this, $name)) { return $this->$name; } return parent::__get($name); } public function __set($name, $value) { $name = $this->_getMappedPropertyName($name); if (property_exists($this, $name)) { return $this->$name = $value; } return parent::__set($this->_getMappedPropertyName($name), $value); } } ?>