1.3 will not be implementing object results from models.  1.3 is still
php4 compatible, and is a _minor_ version release.  Switching out the
lower levels of how models work is not a minor change.  Perhaps you
are thinking of CakePHP 2.x?

-Mark

On Sep 24, 3:25 pm, Jon Bennett <jmbenn...@gmail.com> wrote:
> Hi,
>
> > Basically i am looking for something similar like View Helpers in
> > Zend. We can access the model data in views using view Helpers. Is
> > there something similar in cakephp.
>
> Short answer: you can't.
>
> Longer answer: as the current version of cake is both php4 and 5
> compatible, it uses arrays for data, not objects because objects are v
> slow and limited in php4. This is why you pass the data from the model
> to the controller to the view, and can't access models directly, even
> read only, from the view.
>
> Cake 1.3 I believe will use objects, certainly the future cakephp 2 and 3 
> will.
>
> hth
>
> Jon
> ps: A more descriptive subject would probably have led to an answer
> sooner - I only looked because I was curious, not because I knew I
> could help
>
> --
>
> 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