Last change
on this file was 35, checked in by george, 16 years ago |
- Všechny soubory přesunuty do podsložky trunk.
|
File size:
410 bytes
|
Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | $LogActionType = array('Add' => 0, 'Edit' => 1, 'Delete' => 2);
|
---|
4 |
|
---|
5 | class Log extends Module
|
---|
6 | {
|
---|
7 | var $Dependencies = array('User', 'DatabaseList');
|
---|
8 |
|
---|
9 | function Add($List, $Item, $Action)
|
---|
10 | {
|
---|
11 | $Values = array('User' => $this->System->Modules['User']->User['Id'], 'List' => $List, 'Item' => $Item, 'Action' => $Action);
|
---|
12 | $this->System->Modules['DatabaseList']->AddItem(ListSystemLogId, $Values);
|
---|
13 | }
|
---|
14 |
|
---|
15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.