public function init($params = array()) { foreach ($params as $key => $value) { $this->{"_" . $key} = $value; } }