Changeset 586 for trunk/Common/AppModule.php
- Timestamp:
- Oct 31, 2013, 9:30:09 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/AppModule.php
r579 r586 52 52 function Start() 53 53 { 54 if($this->Running) return; 55 $this->DoStart(); 54 56 $this->Running = true; 55 57 } … … 57 59 function Stop() 58 60 { 61 if(!$this->Running) return; 59 62 $this->Running = false; 63 $this->DoStop(); 60 64 } 65 66 function Restart() 67 { 68 $this->Stop(); 69 $this->Start(); 70 } 71 72 protected function DoStart() 73 { 74 } 75 76 protected function DoStop() 77 { 78 79 } 80 81 protected function DoInstall() 82 { 83 } 84 85 protected function DoUninstall() 86 { 87 } 61 88 } 62 89
Note:
See TracChangeset
for help on using the changeset viewer.