> interested line in the views, while I'd like to obtain an automatic
> and centralized solution i.e. if I write a new page there should be no
> need to remember that "work-around"
I think you'll find it easier to tackle this issue once Cakephp 1.3 (I
think) is out and data is moved from arrays to objects. Then, you
could detect that you're in a view and when you call $model->field it
can convert the data for you on the fly.
Until then, there is no perfect solution.
hth
j
--
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment