Esempio n. 1
0
 private function register($data)
 {
     $m_register = new \models\Registration();
     $id = $m_register->register($data);
     $user_m = new \models\User($id);
     $user_m->setRegistrationDate();
     $user_m->writeData();
     $this->id = $id;
 }