Changeset 71 for trunk/www/Application/Controller/Server.php
- Timestamp:
- Aug 23, 2009, 6:14:01 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/Controller/Server.php
r69 r71 3 3 class ServerController extends Controller 4 4 { 5 function Add() 6 { 7 $Page = new PageView($this->System); 8 $View = new ServerView($this->System); 9 return($Page->GetOutput($View->Add())); 10 } 5 11 12 function Create() 13 { 14 $Page = new PageView($this->System); 15 $View = new ServerView($this->System); 16 return($Page->GetOutput($View->Create())); 17 } 18 19 function Show() 20 { 21 $Page = new PageView($this->System); 22 $View = new ServerView($this->System); 23 return($Page->GetOutput($View->Item())); 24 } 25 26 function Edit() 27 { 28 $Page = new PageView($this->System); 29 $View = new ServerView($this->System); 30 return($Page->GetOutput($View->Edit())); 31 } 32 33 function Save() 34 { 35 $Page = new PageView($this->System); 36 $View = new ServerView($this->System); 37 return($Page->GetOutput($View->Save())); 38 } 39 40 function Start() 41 { 42 $Page = new PageView($this->System); 43 $View = new ServerView($this->System); 44 return($Page->GetOutput($View->Start())); 45 } 46 47 function Stop() 48 { 49 $Page = new PageView($this->System); 50 $View = new ServerView($this->System); 51 return($Page->GetOutput($View->Stop())); 52 } 53 54 function DatabaseImport() 55 { 56 $Page = new PageView($this->System); 57 $View = new DatabaseView($this->System); 58 return($Page->GetOutput($View->Import())); 59 } 60 61 function ItemList() 62 { 63 $Page = new PageView($this->System); 64 $View = new ServerView($this->System); 65 return($Page->GetOutput($View->ItemList())); 66 } 67 68 function GameAccountRegister() 69 { 70 $Page = new PageView($this->System); 71 $View = new ServerView($this->System); 72 return($Page->GetOutput($View->AccountCreate())); 73 } 74 75 function GameAccountRegisterFinish() 76 { 77 $Page = new PageView($this->System); 78 $View = new ServerView($this->System); 79 return($Page->GetOutput($View->AccountCreateFinish())); 80 } 6 81 } 7 82
Note:
See TracChangeset
for help on using the changeset viewer.