public function __get($property) { if ($this->_parent) { return $this->_parent->{$property}; } return null; }