Re: [Dbix-class] Set a resultset_class for a result_class from within a component loaded by the result_class

2009-03-14 Thread Jess Robinson
On Thu, 5 Mar 2009, kevin montuori wrote: PR == Peter Rabbitson rabbit+d...@rabbit.us writes: You put ResultSetManager in your load_components and you put your custom plugin for resultset into a load_resultset_components call. An example from one of my classes. PR Isn't

Re: [Dbix-class] Set a resultset_class for a result_class from within a component loaded by the result_class

2009-03-05 Thread Rob Kinyon
On Thu, Mar 5, 2009 at 12:07, David Ihnen dav...@norchemlab.com wrote: Nothing is actually a plugin that impliments the 'Nothing' design pattern - that is - instead of returning null when referencing a row in an empty resultset (particularly -single and -first, which I use many times when NOT

Re: [Dbix-class] Set a resultset_class for a result_class from within a component loaded by the result_class

2009-03-05 Thread David Ihnen
Rob Kinyon wrote: On Thu, Mar 5, 2009 at 12:07, David Ihnen dav...@norchemlab.com wrote: Nothing is actually a plugin that impliments the 'Nothing' design pattern - that is - instead of returning null when referencing a row in an empty resultset (particularly -single and -first,

Re: [Dbix-class] Set a resultset_class for a result_class from within a component loaded by the result_class

2009-03-05 Thread Peter Rabbitson
David Ihnen wrote: For these purposes I found this sneaky little ResultSetManager extension. You put ResultSetManager in your load_components and you put your custom plugin for resultset into a load_resultset_components call. An example from one of my classes. Isn't ResultSetManager

Re: [Dbix-class] Set a resultset_class for a result_class from within a component loaded by the result_class

2009-03-05 Thread kevin montuori
PR == Peter Rabbitson rabbit+d...@rabbit.us writes: You put ResultSetManager in your load_components and you put your custom plugin for resultset into a load_resultset_components call. An example from one of my classes. PR Isn't ResultSetManager deprecated to the point of removal?

Re: [Dbix-class] Set a resultset_class for a result_class from within a component loaded by the result_class

2009-03-05 Thread Peter Rabbitson
kevin montuori wrote: PR == Peter Rabbitson rabbit+d...@rabbit.us writes: You put ResultSetManager in your load_components and you put your custom plugin for resultset into a load_resultset_components call. An example from one of my classes. PR Isn't ResultSetManager deprecated

Re: [Dbix-class] Set a resultset_class for a result_class from within a component loaded by the result_class

2009-03-05 Thread Peter Rabbitson
kevin montuori wrote: PR == Peter Rabbitson rabbit+d...@rabbit.us writes: You put ResultSetManager in your load_components and you put your custom plugin for resultset into a load_resultset_components call. An example from one of my classes. PR Isn't ResultSetManager deprecated

[Dbix-class] Set a resultset_class for a result_class from within a component loaded by the result_class

2009-03-04 Thread Ashley
I'm trying to do a custom component which requires an elaborate result set. This is a component which might be of benefit to many projects if I can get it together. I am writing it with its accompanying resultset_class but I cannot seem to work out how to get the resultset_class loaded

Re: [Dbix-class] Set a resultset_class for a result_class from within a component loaded by the result_class

2009-03-04 Thread Ashley
And of course, 30 seconds later Google and MST show the light: http:// osdir.com/ml/lang.perl.modules.dbix-class/2006-10/msg00113.html I think that's what I want. Thanks for looking anyway! -Ashley On Mar 4, 2009, at 11:11 PM, Ashley wrote: I'm trying to do a custom component which requires an