On 7/27/07, AD7six <[EMAIL PROTECTED]> wrote: > On Jul 27, 9:11 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote: > > On 7/27/07, AD7six <[EMAIL PROTECTED]> wrote: > > > > > That's a lot of code ;), do you have an example of when you would want > > > to attach a 'new' behavior to a model as opposed to turn a behavior > > > that the model has on and off? > > > > Yes - conditional post processing of uploaded image files depending on > > method chosen(GD, IM, NetPBM) and image file type > > > > :) > > I read the post ;)
If you are referring to Amit's statement of "Why not..." then I would say that we do write *not useful now* code at times when we feel like it I don't see nowActsAs used in cheesecakes source. It has not been used as yet... > I hope cake's behavior processing doesn't change too much ;)). For > example the code does not unset the behavior instances in dontActsAs > so the 'state' of the model will not be the same compared to not > having the behavior declared in the model. May be we will add the code for that - but right now it works as advertised > Anyway, hope you don't mind the discussion. Not at all - you are helping me advertise my shameless plug ;) Cheers Tarique -- ============================================================= Cheesecake-Photoblog: http://cheesecake-photoblog.org PHP for E-Biz: http://sanisoft.com ============================================================= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---