action_signup($mod); break; case "signup_submit": $this->action_signup_submit($mod); break; default: $this->action_default($mod); break; } } function action_default($mod) { if ($mod->deflt()) include "view/auth/default.view.php"; else $this->action_signup($mod); } function action_signup($mod) { $mod->signup(); include "view/auth/signup.view.php"; } function action_signup_submit($mod) { $mod->signupSubmit($_REQUEST['input']); $this->action_signup($mod); } } ?>