Jifty::Plugin::ActorMetadata.3pm

Langue: en

Autres versions - même langue

Version: 2009-07-20 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Jifty::Plugin::ActorMetadata - add created_by created_on updated_by updated_on columns to a model class

DESCRIPTION

This plugin adds a model mixin which adds "created_by", "created_on", "updated_by" and "updated_on" columns to a model class.

SYNOPSIS

  use strict;
  use warnings;
  
  package YourApp::Model::Thingy;
  use Jifty::DBI::Schema;
  
  use YourApp::Record schema {
  
          ...
  
  };
  use Jifty::Plugin::ActorMetadata::Mixin::Model::ActorMetadata;
  #Provides created_by, created_on, updated_by and updated_on