$value) { $method = 'set' . $key; if (method_exists($this, $method)) { $this->$method($value); } } } } ?>