Changeset 523 for trunk/Modules/Log/Log.php
- Timestamp:
- Apr 20, 2013, 8:21:15 PM (12 years ago)
- Location:
- trunk/Modules/Log
- Files:
-
- 1 added
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Log/Log.php
r521 r523 1 1 <?php 2 2 3 class Log extendsModule3 class ModuleLog extends AppModule 4 4 { 5 var $Dependencies = array('User'); 5 function __construct($System) 6 { 7 parent::__construct($System); 8 $this->Name = 'Log'; 9 $this->Version = '1.0'; 10 $this->Creator = 'Chronos'; 11 $this->License = 'GNU/GPLv3'; 12 $this->Description = 'Logging user actions'; 13 $this->Dependencies = array('User'); 14 } 15 16 function Install() 17 { 18 parent::Install(); 19 } 6 20 21 function UnInstall() 22 { 23 parent::UnInstall(); 24 } 25 26 function Start() 27 { 28 parent::Start(); 29 } 30 31 function Stop() 32 { 33 parent::Stop(); 34 } 35 7 36 function NewRecord($Module, $Operation, $Value = '') 8 37 { … … 15 44 'Operation' => $Operation, 'Value' => $Value, 'IPAddress' => $_SERVER['REMOTE_ADDR'])); 16 45 } 46 } 17 47 18 } 48 ?>
Note:
See TracChangeset
for help on using the changeset viewer.