NAME
App::Cinema::Event - Record a user's actions in the system.
SYNOPSIS
my $e = App::Cinema::Event->new();
$e->content(' deleted account : ');
$e->target($id);
$e->insert($c);
The result will look like this :
USER ACTION DESC TIME
test02 deleted account : test02 2010-01-22 13:01:54
DESCRIPTION
Record a user's actions in the system.
Methods
uid
-
This method gets/sets uid attribute of this object.
desc
-
This method gets/sets desc attribute of this object.
now
-
This method gets now time of this object.
target
-
This method gets/sets target attribute of this object.
insert
-
This method adds a new event to the database.
AUTHOR
Jeff Mo <mo0118@gmail.com>