source: trunk/www/Module/Log/Model.php

Last change on this file was 95, checked in by chronos, 10 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
3include_once(dirname(__FILE__).'/../../Base/Model.php');
4
5class 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.