public function deleteType($id) { $user_type_table = new UserTypeTable(); $user_type_table->delete($id); $user_table = new UserTable(); $user_table->clear_type($id); Util::go_back(); }