[Rt-devel] Refactoring RT::Tickets_Overlay.pm

Todd Chapman todd at chaka.net
Tue May 31 15:32:57 EDT 2005


On Tue, May 31, 2005 at 03:41:54PM -0400, Jesse Vincent wrote:
> 
> On Tue, May 31, 2005 at 03:10:46PM -0400, Todd Chapman wrote:
> > In developing Asset Tracker I have "borrowed" a lot of helper
> > methods from Tickets_Overlay. It would seem that many of these
> > methods would be more appropriately placed in RT::SearchBuilder,
> > or a class that ISA RT::Searchbuilder and then subclass RT::Tickets
> > from that.
> > 
> > Does this make sense?
> 
> Depends on what they are. What are they? ;)

For starters, all the helper functions in the dispatch table:

&_EnumLimit,
&_IntLimit,
&_LinkLimit,
&_DateLimit,
&_StringLimit,
&_TransLimit,
&_TransDateLimit,
&_WatcherLimit,
&_WatcherMembershipLimit,
&_LinkFieldLimit,
&_CustomFieldLimit,



More information about the Rt-devel mailing list