public function __set($k, $v) { if (isset($this->_data[$k])) { $this->_data[$k] = $v; return; } $this->{$k} = $v; }