DBICx::AutoDoc::Magic - Capture some otherwise unobtainable information about a DBIx::Class subclass
See dbicx-autodoc and DBICx::AutoDoc.
DBICx::AutoDoc::Magic is a DBIx::Class component used by DBICx::AutoDoc to capture some information that cannot be reverse-engineered out of a compiled DBIx::Class subclass.
DBICx::AutoDoc::Magic
This class has only two methods of it's own...
This is simply an accessor (a Class::Accessor::Grouped accessor, of type 'inherited' to be precise) that provides each of the subclasses with a suitable location to store the information this module collects for them.
This method is called by each of the overloaded methods, and merely records their arguments in the hashref stored in "_autodoc", and then forwards the call on to the real method.
This module overloads the following DBIx::Class methods. They are overloaded merely to call "_autodoc_record_relationship" and then they call the original method.
DBICx::AutoDoc, dbicx-autodoc, DBIx::Class, DBIx::Class::Relationship
Jason Kohles, <email@jasonkohles.com>
Copyright (C) 2007 by Jason Kohles
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install DBICx::AutoDoc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBICx::AutoDoc
CPAN shell
perl -MCPAN -e shell install DBICx::AutoDoc
For more information on module installation, please visit the detailed CPAN module installation guide.