hello,

i've just migrated to Symfony framework a few days ago and I'm
wondering one thing.

which approach would be best to use when you want to display a
collection (particularly hierarchical data - categories) inside a
template?

should I make a helper that would retrieve collection (object/s) from
a database or would it be better to make a static function inside an
object helper ObjectTable ?

i've been thinking of making a static function getRecords() in the
model, and then build a proper html output with a helper, which is
called directly from the template?

thanks a lot for help

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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