[Rt-commit] r3416 - in rt/branches/3.4-RELEASE: . lib/RT
kevinr at bestpractical.com
kevinr at bestpractical.com
Thu Jul 7 17:36:01 EDT 2005
Author: kevinr
Date: Thu Jul 7 17:36:00 2005
New Revision: 3416
Modified:
rt/branches/3.4-RELEASE/ (props changed)
rt/branches/3.4-RELEASE/lib/RT/CustomField.pm
rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
Log:
r6064 at sad-girl-in-snow: kevinr | 2005-07-07 17:35:40 -0400
* Updated the custom field perldoc to explain some non-intuitive behavior.
Modified: rt/branches/3.4-RELEASE/lib/RT/CustomField.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/CustomField.pm (original)
+++ rt/branches/3.4-RELEASE/lib/RT/CustomField.pm Thu Jul 7 17:36:00 2005
@@ -97,6 +97,9 @@
varchar(255) 'LookupType'.
smallint(6) 'Disabled'.
+ 'LookupType' is generally the result of either
+ RT::Ticket->CustomFieldLookupType or RT::Transaction->CustomFieldLookupType
+
=cut
Modified: rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm (original)
+++ rt/branches/3.4-RELEASE/lib/RT/CustomField_Overlay.pm Thu Jul 7 17:36:00 2005
@@ -135,10 +135,15 @@
varchar(200) 'Type'.
int(11) 'MaxValues'.
varchar(255) 'Pattern'.
+ smallint(6) 'Repeated'.
varchar(255) 'Description'.
int(11) 'SortOrder'.
+ varchar(255) 'LookupType'.
smallint(6) 'Disabled'.
+ 'LookupType' is generally the result of either
+ RT::Ticket->CustomFieldLookupType or RT::Transaction->CustomFieldLookupType
+
=cut
Modified: rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm (original)
+++ rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm Thu Jul 7 17:36:00 2005
@@ -3680,6 +3680,17 @@
# }}}
+# {{{ sub CustomFieldLookupType
+
+=head2 CustomFieldLookupType
+
+Returns the RT::Ticket lookup type, which can be passed to
+RT::CustomField->Create() via the 'LookupType' hash key.
+
+=cut
+
+# }}}
+
sub CustomFieldLookupType {
"RT::Queue-RT::Ticket";
}
Modified: rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm (original)
+++ rt/branches/3.4-RELEASE/lib/RT/Transaction_Overlay.pm Thu Jul 7 17:36:00 2005
@@ -1051,6 +1051,17 @@
# }}}
+# {{{ sub CustomFieldLookupType
+
+=head2 CustomFieldLookupType
+
+Returns the RT::Transaction lookup type, which can
+be passed to RT::CustomField->Create() via the 'LookupType' hash key.
+
+=cut
+
+# }}}
+
sub CustomFieldLookupType {
"RT::Queue-RT::Ticket-RT::Transaction";
}
More information about the Rt-commit
mailing list