| 
            Last change
 on this file was             95, checked in by chronos, 11 years ago           | 
        
        
          
            - Upraveno: Soubory různých logických částí systému odděleny do aplikačních modulů.
  
           | 
        
        
          | 
            File size:
            418 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | <?php
 | 
|---|
| 2 | 
 | 
|---|
| 3 | include_once(dirname(__FILE__).'/../../Base/Model.php');
 | 
|---|
| 4 | 
 | 
|---|
| 5 | class Log extends Model
 | 
|---|
| 6 | {
 | 
|---|
| 7 |   var $Dependencies = array('User');
 | 
|---|
| 8 | 
 | 
|---|
| 9 |   function NewRecord($Module, $Operation, $Value = '')
 | 
|---|
| 10 |   {
 | 
|---|
| 11 |     $this->Database->insert('Log', array('Time' => 'NOW()', 'User' => $this->System->Modules['User']->Data['Id'], 'Module' => $Module, 'Operation' => $Operation, 'Value' => $Value));
 | 
|---|
| 12 |     //echo($this->Database->LastQuery);
 | 
|---|
| 13 |   }
 | 
|---|
| 14 | 
 | 
|---|
| 15 | }
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.