-
-
13 Jul 2016 21:18:53 UTC
- Distribution: DBIx-Class-AuditLog
- Module version: 0.6.4
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (7)
- Testers (447 / 0 / 0)
- Kwalitee
Bus factor: 0- License: perl_5
- Activity
24 month- Tools
- Download (31.84KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- NAME
- VERSION
- NAME
- VERSION
- DBIx::Class OVERRIDDEN METHODS
- HELPER METHODS
- AUTHOR
- CONTRIBUTORS
- COPYRIGHT AND LICENSE
- AUTHOR
- COPYRIGHT AND LICENSE
NAME
DBIx::Class::AuditLog - Simple activity audit logging for DBIx::Class
VERSION
version 0.6.4
NAME
DBIx::Class::AuditLog - Simple activity audit logging for DBIx::Class
VERSION
version 0.2.6
DBIx::Class OVERRIDDEN METHODS
insert
update
delete
HELPER METHODS
_audit_log_schema
Returns the AuditLog schema from storage.
my $al_schema = $schmea->audit_log_schema;
_action_setup
Creates 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_changes
Store the column data that has changed
Requires: 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_audit
Returns 1 or 0 if the column should be audited or not.
Requires: column: the name of the column/field to check
_force_audit
Returns 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_value
Returns 1 or 0 if the columns value should be modified before audit.
Requires: column: the name of the column/field to check
_modify_audit_value
Modifies 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
AUTHOR
Mark Jubenville <ioncache@gmail.com>
CONTRIBUTORS
Lukas Thiemeier <lukast@cpan.org>
Dimitar Petrov <dcpetrov@cpan.org>
COPYRIGHT AND LICENSE
This 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.
AUTHOR
Mark Jubenville <ioncache@cpan.org>
COPYRIGHT AND LICENSE
This 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.
Module Install Instructions
To install DBIx::Class::AuditLog, copy and paste the appropriate command in to your terminal.
cpanm DBIx::Class::AuditLog
perl -MCPAN -e shell install DBIx::Class::AuditLog
For more information on module installation, please visit the detailed CPAN module installation guide.