1use strict; 2use warnings; 3 4package Jifty::Plugin::ActorMetadata; 5use base qw/Jifty::Plugin/; 6 7=head1 NAME 8 9Jifty::Plugin::ActorMetadata - add created_by created_on updated_by updated_on columns to a model class 10 11=head1 DESCRIPTION 12 13This plugin adds a model mixin which adds C<created_by>, 14C<created_on>, C<updated_by> and C<updated_on> columns to a model 15class. 16 17=head1 SYNOPSIS 18 19 use strict; 20 use warnings; 21 22 package YourApp::Model::Thingy; 23 use Jifty::DBI::Schema; 24 25 use YourApp::Record schema { 26 27 ... 28 29 }; 30 use Jifty::Plugin::ActorMetadata::Mixin::Model::ActorMetadata; 31 #Provides created_by, created_on, updated_by and updated_on 32 33 34=cut 35 361; 37