I've actually completed most of the work in an Mcrypt Behavior. I
need to finish up a few things and get automatic decryption working
for related models. You're more than welcome to see my code if you'd
like (I intend to share it on the Bakery when I'm sure it's as close
to done as I can get
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
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
Sorry, I had a typo in the original post...model function should be as
follows:
Model:
function save($data = null, $validate = true, $fieldList =
array())
{
if(isset($data['Model']['field']) $data['Model']
['field'])
{
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