NAME

ETLp::Role::Audit - utility methods for ETLp auiditing

DESCRIPTION

This role provides a wrapper around ETLp::Config. It's purpose is top provide simple access to the configuration setting

METHODS

get_driver

Return the name of the DBD driver for the audit connection

now

Return the current date and time as a DateTime object for the local time_zone'

db_time

Return the supplied DateTime object as a DB-specific date and time string

db_now

Return the current date and time as a DB-specific string

get_status_id

Given a status name, return the primary key

get_phase_id

Given a phase name, return the primay key

LICENSE AND COPYRIGHT

Copyright 2010 Redbone Systems Ltd

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

The terms are in the LICENSE file that accompanies this application