I assume you mean passing a model to a view?

This is generally discouraged, in favour of getting whatever
information you need from the model in the controller, and passing it
on to the view.

You'd have to describe your issue more fully, or search the board more
thoroughly - there's plenty of posts on this floating around: someone
very recently was talking about accessing the Model schema in a
Helper...



On 24 Feb, 15:25, Carl <[EMAIL PROTECTED]> wrote:
> I guess the real question is what do I pass as a reference to the
> model? I tried passing $this-><Model> and &$this-><Model> and neither
> one works.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to