FabienPennequin / FPNTagBundle

This bundle allows to tag your Doctrine entities easily
http://knpbundles.com/FabienPennequin/FPNTagBundle
76 stars 50 forks source link

getTags #15

Closed vittore closed 10 years ago

vittore commented 11 years ago

How to get tags array inside a taggable entity so I can write getTagsString() public function?

v.

jbouzekri commented 10 years ago

Why not write the getTagsString directly in your taggable entity ?

You just have to loop over the tagging entity, get the tag and hydrate an array with the tag name.