Du'oh...my bad...forgot about that. It's been a while since I have
written a behavior.  Thanks.

On Jul 8, 12:01 pm, Jon Bennett <jmbenn...@gmail.com> wrote:
> Hi,
>
> > I am having a weird problem with a new model behavior I am trying to
> > implement. When I try to pass a value ($data) into the model behavior
> > function the passed value is replaced with the model object. The
> > passed value is a string before $this->enCrypt() is called, but within
> > the behavior function $data contains the model's object. Here is my
> > code:
>
> It's not that weird, it's intentional - the first param is always the
> model that calls the method, have a read up 
> onhttp://book.cakephp.org/view/595/Creating-Behaviors
>
> Cheers,
>
> Jon
>
> --
>
> jon bennett
> w:http://www.jben.net/
> iChat (AIM): jbendotnet Skype: jon-bennett
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to