X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FManual%2FComponent.pod;h=07142d999e008f7445820693fbcb383042904288;hb=367eaf50970dd3fd223ce5e1f0337703f2a6c70e;hp=ac94adbc8b276b8648a7d32f5969c14c22f0b919;hpb=26148d36e66d7f7c67863cea8d6501739b765692;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Manual/Component.pod b/lib/DBIx/Class/Manual/Component.pod index ac94adb..07142d9 100644 --- a/lib/DBIx/Class/Manual/Component.pod +++ b/lib/DBIx/Class/Manual/Component.pod @@ -27,7 +27,7 @@ by prepending the component name with a +. __PACKAGE__->load_components(qw/ +My::Component /); -Once a component is loaded all of it's methods, or otherwise, +Once a component is loaded all of its methods, or otherwise, that it provides will be available in your class. The order in which is you load the components may be very @@ -69,11 +69,9 @@ that are loaded first are the first ones in the inheritance stack. So, if you override insert() but the DBIx::Class::Row component is loaded first then your insert() will never be called, since the DBIx::Class::Row insert() will be called first. If you are unsure as to why a given method is not -being called try printing out the Class::C3 inheritance stack. +being called try printing out the current linearized MRO. - print join ', ' => Class::C3::calculateMRO('YourClass::Name'); - -Check out the L docs for more information about inheritance. + print join ', ' => mro::get_linear_isa('YourClass::Name'); =head1 EXISTING COMPONENTS @@ -82,8 +80,6 @@ Check out the L docs for more information about inheritance. These components provide extra functionality beyond basic functionality that you can't live without. -L - Hooks for Storable nfreeze/thaw. - L - Class::DBI Compatibility layer. L - Build forms with multiple interconnected objects. @@ -136,6 +132,13 @@ L - Basic row methods. L -=head1 AUTHOR +=head1 FURTHER QUESTIONS? + +Check the list of L. + +=head1 COPYRIGHT AND LICENSE -Aran Clary Deltac +This module is free software L +by the L. You can +redistribute it and/or modify it under the same terms as the +L.