Kiril Angov wrote:

> As I suggested, why just not create a methot $content->getCategoryName() 
> and put all the logic there? I guess a matter of preference but 
> following this approach, you will be free from problems as the original 
> and you will not need a get* and has* method for each function you want 
> to have.

You're perfectly right :)

But I guess putting all the logic in the getters should be as painful as 
handling has* methods... matter of preference ;)

I can add that a Propel behavior could handle automatically has* 
methods, this could be a part of a cool plugin.

Anyway I personnaly do prefer handling my template logic my templates 
(no troll here, here a category is a data, or the display of a data: 
matter of preference one more time.)

++

-- 
Nicolas Perriault    http://www.clever-age.com
Clever Age - conseil en architecture technique
GSM: +33 6 60 92 08 67  Tél: +33 1 53 34 66 10

--~--~---------~--~----~------------~-------~--~----~
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