db = new UserModel(); $this->view = $view; } public function showUserForm(){ } public function showUserConfirmation(){ } public function showUserLoginForm(){ } public function register(){ $this->db->createUser($_POST); $this->view->setDoMethodName("showUserConfirmation"); $this->showUserConfirmation(); } public function login(){ } }