3 # Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
5 # (Except where explictly superceded by other copyright notices)
7 # This work is made available to you under the terms of Version 2 of
8 # the GNU General Public License. A copy of that license should have
9 # been provided with this software, but in any event can be snarfed
12 # This work is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # General Public License for more details.
17 # Unless otherwise specified, all modifications, corrections or
18 # extensions to this work which alter its source code become the
19 # property of Best Practical Solutions, LLC when submitted for
20 # inclusion in the work.
24 # Autogenerated by DBIx::SearchBuilder factory (by <jesse@bestpractical.com>)
25 # WARNING: THIS FILE IS AUTOGENERATED. ALL CHANGES TO THIS FILE WILL BE LOST.
27 # !! DO NOT EDIT THIS FILE !!
35 RT::CustomFieldValues -- Class Description
39 use RT::CustomFieldValues
48 package RT::CustomFieldValues;
50 use RT::SearchBuilder;
51 use RT::CustomFieldValue;
54 @ISA= qw(RT::SearchBuilder);
59 $self->{'table'} = 'CustomFieldValues';
60 $self->{'primary_key'} = 'id';
64 # By default, order by name
65 $self->OrderBy( ALIAS => 'main',
69 return ( $self->SUPER::_Init(@_) );
75 Returns an empty new RT::CustomFieldValue item
81 return(RT::CustomFieldValue->new($self->CurrentUser));
84 eval "require RT::CustomFieldValues_Overlay";
85 if ($@ && $@ !~ qr{^Can't locate RT/CustomFieldValues_Overlay.pm}) {
89 eval "require RT::CustomFieldValues_Vendor";
90 if ($@ && $@ !~ qr{^Can't locate RT/CustomFieldValues_Vendor.pm}) {
94 eval "require RT::CustomFieldValues_Local";
95 if ($@ && $@ !~ qr{^Can't locate RT/CustomFieldValues_Local.pm}) {
104 This class allows "overlay" methods to be placed
105 into the following files _Overlay is for a System overlay by the original author,
106 _Vendor is for 3rd-party vendor add-ons, while _Local is for site-local customizations.
108 These overlay files can contain new subs or subs to replace existing subs in this module.
110 If you'll be working with perl 5.6.0 or greater, each of these files should begin with the line
112 no warnings qw(redefine);
114 so that perl does not kick and scream when you redefine a subroutine or variable in your overlay.
116 RT::CustomFieldValues_Overlay, RT::CustomFieldValues_Vendor, RT::CustomFieldValues_Local