diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-06-07 00:56:06 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-06-07 00:56:06 -0700 |
commit | 43a06151e47d2c59b833cbd8c26d97865ee850b6 (patch) | |
tree | 42c51d94e7fa265461b508d061562be204ccc2c1 /rt/lib/RT/StyleGuide.pod | |
parent | 6587f6ba7d047ddc1686c080090afe7d53365bd4 (diff) |
starting to work...
Diffstat (limited to 'rt/lib/RT/StyleGuide.pod')
-rw-r--r-- | rt/lib/RT/StyleGuide.pod | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rt/lib/RT/StyleGuide.pod b/rt/lib/RT/StyleGuide.pod index 84ccb89df..d958c87d4 100644 --- a/rt/lib/RT/StyleGuide.pod +++ b/rt/lib/RT/StyleGuide.pod @@ -892,6 +892,22 @@ There are some legacy fields that did not follow this rule, namely C<ACL.PrincipalId>, C<GroupMembers.GroupId> and C<Attachments.TransactionId>, but new tables are expected to be consistent. + +=head1 EXTENDING RT CLASSES + +=head2 The Overlay mechanism + +RT's classes allow "overlay" methods to be placed into files named Filename_Vendor.pm and Filename_Local.pm +_Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations. + +These overlay files can contain new subs or subs to replace existing subs in this module. + +Each of these files should begin with the line + + no warnings qw(redefine); + +so that perl does not kick and scream when you redefine a subroutine or variable in your overlay. + =head1 TO DO Talk about DBIx::SearchBuilder |