1DBICx::AutoDoc::Magic(3U)ser Contributed Perl DocumentatiDoBnICx::AutoDoc::Magic(3)
2
3
4
6 DBICx::AutoDoc::Magic - Capture some otherwise unobtainable information
7 about a DBIx::Class subclass
8
10 See dbicx-autodoc and DBICx::AutoDoc.
11
13 "DBICx::AutoDoc::Magic" is a DBIx::Class component used by
14 DBICx::AutoDoc to capture some information that cannot be reverse-
15 engineered out of a compiled DBIx::Class subclass.
16
18 This class has only two methods of it's own...
19
20 _autodoc
21 This is simply an accessor (a Class::Accessor::Grouped accessor, of
22 type 'inherited' to be precise) that provides each of the subclasses
23 with a suitable location to store the information this module collects
24 for them.
25
26 _autodoc_record_relationship
27 This method is called by each of the overloaded methods, and merely
28 records their arguments in the hashref stored in "_autodoc", and then
29 forwards the call on to the real method.
30
32 This module overloads the following DBIx::Class methods. They are
33 overloaded merely to call "_autodoc_record_relationship" and then they
34 call the original method.
35
36 belongs_to
37 has_many
38 might_have
39 has_one
40 many_to_many
42 DBICx::AutoDoc, dbicx-autodoc, DBIx::Class, DBIx::Class::Relationship
43
45 Jason Kohles, <email@jasonkohles.com>
46
48 Copyright (C) 2007 by Jason Kohles
49
50 This library is free software; you can redistribute it and/or modify it
51 under the same terms as Perl itself.
52
53
54
55perl v5.34.0 2021-05-22 DBICx::AutoDoc::Magic(3)