|
NAMEDBIx::Class::AuditLog - Simple activity audit logging for DBIx::ClassVERSIONversion 0.6.4NAMEDBIx::Class::AuditLog - Simple activity audit logging for DBIx::ClassVERSIONversion 0.2.6DBIx::Class OVERRIDDEN METHODSinsertupdatedeleteHELPER METHODS_audit_log_schemaReturns the AuditLog schema from storage.my $al_schema = $schmea->audit_log_schema; _action_setupCreates a new AuditLog Action for a specific type.Requires: row: primary key of the table that is being audited action_type: action type, 1 of insert/update/delete _store_changesStore the column data that has changedRequires: action: the action object that has associated changes old_values: the old values are being replaced new_values: the new values that are replacing the old table: dbic object of the audit_log_table object _do_auditReturns 1 or 0 if the column should be audited or not.Requires: column: the name of the column/field to check _force_auditReturns 1 or 0 if the column should be audited even if its value did not change.Requires: column: the name of the column/field to check _do_modify_audit_valueReturns 1 or 0 if the columns value should be modified before audit.Requires: column: the name of the column/field to check _modify_audit_valueModifies the colums audit-value. Dies if no modify-method could be found.Returns: the modified value Requires: column: the name of the column/field to check value: the original value AUTHORMark Jubenville <ioncache@gmail.com>CONTRIBUTORSLukas Thiemeier <lukast@cpan.org>Dimitar Petrov <dcpetrov@cpan.org> COPYRIGHT AND LICENSEThis software is copyright (c) 2012 by Mark Jubenville.This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. AUTHORMark Jubenville <ioncache@cpan.org>COPYRIGHT AND LICENSEThis software is copyright (c) 2012 by Mark Jubenville.This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Visit the GSP FreeBSD Man Page Interface. |