| 1 | <?php
|
|---|
| 2 |
|
|---|
| 3 | class UserController extends Controller
|
|---|
| 4 | {
|
|---|
| 5 | function Login()
|
|---|
| 6 | {
|
|---|
| 7 | $Page = new PageView($this->System);
|
|---|
| 8 | $View = new UserView($this->System);
|
|---|
| 9 | return($Page->GetOutput($View->Login()));
|
|---|
| 10 | }
|
|---|
| 11 |
|
|---|
| 12 | function LoginFinish()
|
|---|
| 13 | {
|
|---|
| 14 | $Page = new PageView($this->System);
|
|---|
| 15 | $View = new UserView($this->System);
|
|---|
| 16 | return($Page->GetOutput($View->LoginFinish()));
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | function Logout()
|
|---|
| 20 | {
|
|---|
| 21 | $Page = new PageView($this->System);
|
|---|
| 22 | $View = new UserView($this->System);
|
|---|
| 23 | return($Page->GetOutput($View->Logout()));
|
|---|
| 24 | }
|
|---|
| 25 |
|
|---|
| 26 | function Options()
|
|---|
| 27 | {
|
|---|
| 28 | $Page = new PageView($this->System);
|
|---|
| 29 | $View = new UserView($this->System);
|
|---|
| 30 | return($Page->GetOutput($View->Options()));
|
|---|
| 31 | }
|
|---|
| 32 |
|
|---|
| 33 | function OptionsSave()
|
|---|
| 34 | {
|
|---|
| 35 | $Page = new PageView($this->System);
|
|---|
| 36 | $View = new UserView($this->System);
|
|---|
| 37 | return($Page->GetOutput($View->OptionsSave()));
|
|---|
| 38 | }
|
|---|
| 39 |
|
|---|
| 40 | function Register()
|
|---|
| 41 | {
|
|---|
| 42 | $Page = new PageView($this->System);
|
|---|
| 43 | $View = new UserView($this->System);
|
|---|
| 44 | return($Page->GetOutput($View->Register()));
|
|---|
| 45 | }
|
|---|
| 46 |
|
|---|
| 47 | function RegisterConfirm()
|
|---|
| 48 | {
|
|---|
| 49 | $Page = new PageView($this->System);
|
|---|
| 50 | $View = new UserView($this->System);
|
|---|
| 51 | return($Page->GetOutput($View->Confirm()));
|
|---|
| 52 | }
|
|---|
| 53 |
|
|---|
| 54 | function PasswordRecovery()
|
|---|
| 55 | {
|
|---|
| 56 | $Page = new PageView($this->System);
|
|---|
| 57 | $View = new UserView($this->System);
|
|---|
| 58 | return($Page->GetOutput($View->PasswordRecovery()));
|
|---|
| 59 | }
|
|---|
| 60 |
|
|---|
| 61 | function PasswordRecoveryFinish()
|
|---|
| 62 | {
|
|---|
| 63 | $Page = new PageView($this->System);
|
|---|
| 64 | $View = new UserView($this->System);
|
|---|
| 65 | return($Page->GetOutput($View->PasswordRecovery()));
|
|---|
| 66 | }
|
|---|
| 67 |
|
|---|
| 68 | function PasswordRecoveryConfirm()
|
|---|
| 69 | {
|
|---|
| 70 | $Page = new PageView($this->System);
|
|---|
| 71 | $View = new UserView($this->System);
|
|---|
| 72 | return($Page->GetOutput($View->PasswordRecoveryConfirm()));
|
|---|
| 73 | }
|
|---|
| 74 |
|
|---|
| 75 | function RegisterSave()
|
|---|
| 76 | {
|
|---|
| 77 | $Page = new PageView($this->System);
|
|---|
| 78 | $View = new UserView($this->System);
|
|---|
| 79 | return($Page->GetOutput($View->RegisterSave()));
|
|---|
| 80 | }
|
|---|
| 81 | }
|
|---|