Merci, Nicolas.

So I there shouldn't be any problem accessing the model (having a peer 
method) inside the helper?

Nicolas Perriault wrote:
> On Tue, May 6, 2008 at 10:15 PM, Tom Haskins-Vaughan
> <[EMAIL PROTECTED]> wrote:
> 
>>  So the question is, do I use a peer method to output the html or create
>>  a helper to do this?
> 
> To me, templating should never sit in the model. I'd rather make a
> helper, a partial or a component for that purpose.
> 
> ++
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to