Re: unbind a behavior / ActsAs

2007-11-12 Thread Zoltan
Thanks for the help - I ended up going with the: unset($this->Photo->behaviors['file']); from SANIsoft - worked perfectly, hope it makes it into Cake 1.2 as a regular feature. Zoltan www.yyztech.ca On Nov 11, 4:55 pm, francky06l <[EMAIL PROTECTED]> wrote: > There is also something about this

Re: unbind a behavior / ActsAs

2007-11-11 Thread francky06l
There is also something about this there : http://www.sanisoft.com/blog/2007/06/26/attach-detach-behaviors-at-run-time-in-cakephp-models/ On Nov 11, 8:58 pm, AD7six <[EMAIL PROTECTED]> wrote: > On Nov 11, 7:49 pm, Zoltan <[EMAIL PROTECTED]> wrote: > > > I'm doing a save on a model inside a cont

Re: unbind a behavior / ActsAs

2007-11-11 Thread AD7six
On Nov 11, 7:49 pm, Zoltan <[EMAIL PROTECTED]> wrote: > I'm doing a save on a model inside a controller to update one field, > however it is triggering a behavior attached to that model. Is there a > way to temporarily (like unbind) disable this ActAs so it isn't > called. > > Zoltanwww.yyztech.

unbind a behavior / ActsAs

2007-11-11 Thread Zoltan
I'm doing a save on a model inside a controller to update one field, however it is triggering a behavior attached to that model. Is there a way to temporarily (like unbind) disable this ActAs so it isn't called. Zoltan www.yyztech.ca --~--~-~--~~~---~--~~ You rec