/** * sets the starting set for the user * * @param $id_set int * @throws NullPointerException * @return void */ public function setStartingSet($id_set) { $id_set = intval($id_set); ModelStartingSet::getSet($id_set); $this->id_set = $id_set; DataSource::Singleton()->epp('set_starting_set_for_user', array(':id_user' => $this->id_user, ':id_game' => $this->id_game, ':id_set' => $this->id_set)); }