|
The atkEventLog is a ready to use atkActionListener for logging events in a table. You can use the atkEventLog by adding an instance to a node using atkNode's addListener() method. In order to use the atkEventLog, you have to have a table in the database named 'atkeventlog' with the following structure: CREATE TABLE atkeventlog ( id INT(10), userid INT(10), stamp DATETIME, node VARCHAR(100), action VARCHAR(100), primarykey VARCHAR(255) } The current implementation only supports the logging. Located in /utils/class.atkeventlog.inc [line 51] atkActionListener | --atkEventLogAuthor(s):
|
| Inherited Properties | Inherited Methods |
|---|---|
|
Inherited From atkActionListener |
Inherited From atkActionListener
|
|
This method handles the storage of the action in the database.
Parameters:| String | $action: | The action being performed |
| array | $record: | The record on which the action is performed |