News for hackers. Stuff that matters.
Re:Hey PHP guys... OOP question by ErrantX on Thursday June 25, 2009 @09:01AM (#673567)
Well I would just pass the language model into the view - it seems the better method (and still in keeping with MVC methodology).

This is what I do with Kohana (a similar framework to cakePHP).

Umm if you have hard coded text (i.e. if that text never changes) why dont you just write it into the model? That seems perfectly fine (unless CakePHP does something screwy with views I dont know about :)) in MVC terms.

There are no comments on this comment yet.