|
Last change
on this file was 40, checked in by george, 16 years ago |
- Upraveno: Struktura souborů projektu přepracována na systém MVC.
|
|
File size:
360 bytes
|
| Line | |
|---|
| 1 | <?php
|
|---|
| 2 |
|
|---|
| 3 | class Log extends Model
|
|---|
| 4 | {
|
|---|
| 5 | var $Dependencies = array('User');
|
|---|
| 6 |
|
|---|
| 7 | function NewRecord($Module, $Operation, $Value = '')
|
|---|
| 8 | {
|
|---|
| 9 | $this->Database->insert('Log', array('Time' => 'NOW()', 'User' => $this->System->Modules['User']->Data['Id'], 'Module' => $Module, 'Operation' => $Operation, 'Value' => $Value));
|
|---|
| 10 | //echo($this->Database->LastQuery);
|
|---|
| 11 | }
|
|---|
| 12 |
|
|---|
| 13 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.