Ignore:
Timestamp:
Apr 20, 2013, 8:21:15 PM (11 years ago)
Author:
chronos
Message:
  • Upraveno: Záznam akcí Log předělán na aplikační modul.
  • Přidáno: Modul System a zobrazení seznamu dostupných modulů.
Location:
trunk/Modules/Log
Files:
1 added
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Log/Log.php

    r521 r523  
    11<?php
    22
    3 class Log extends Module
     3class ModuleLog extends AppModule
    44{
    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  }
    620
     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 
    736  function NewRecord($Module, $Operation, $Value = '')
    837  {
     
    1544      'Operation' => $Operation, 'Value' => $Value, 'IPAddress' => $_SERVER['REMOTE_ADDR']));
    1645  }
     46}
    1747
    18 }
     48?>
Note: See TracChangeset for help on using the changeset viewer.