In cake 1.2, I have a custom validation method.
Within this method, if a certain condition is met, I want to force the
value of $this->data['Site']['name'] to 'test' simply by <?php $this-
>data['Site']['name'] = 'test'; ?>.
My problem is the value of $this->data['Site']['name'] doesn't change.
Is it possible to change the value like this?
Thanks
Turgs
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment