i tend to do those things "on demand"
using a behavior to add new keys or even doing it in the model
afterFind() etc often results in additional work without actually
needing this information
but of course this depends on the particular case


On 28 Okt., 20:10, cricket <[email protected]> wrote:
> On Thu, Oct 28, 2010 at 10:03 AM, euromark <[email protected]> wrote:
> > thats not correct for PHP5 anymore
> > in PHP4 you needed to do this
> > but in PHP5 it is passed by reference by default, afaik
>
> Agreed on passing the model to the view. But this could also be
> accomplished in afterFind(), adding new key => value to the data
> array.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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