public function __set($name, $val) { switch ($name) { case 'prefix': $this->_params['prefix'] = $val; break; } }