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