Author: ornicar2
Date: 2010-02-11 13:10:35 +0100 (Thu, 11 Feb 2010)
New Revision: 27885

Modified:
   plugins/dmTagPlugin/lib/doctrine/extension/DmTaggable/Template/DmTaggable.php
Log:
[Diem][dmTagPlugin]
- added getTagsAsString shortcut to the DmTaggable template

Modified: 
plugins/dmTagPlugin/lib/doctrine/extension/DmTaggable/Template/DmTaggable.php
===================================================================
--- 
plugins/dmTagPlugin/lib/doctrine/extension/DmTaggable/Template/DmTaggable.php   
    2010-02-11 11:03:44 UTC (rev 27884)
+++ 
plugins/dmTagPlugin/lib/doctrine/extension/DmTaggable/Template/DmTaggable.php   
    2010-02-11 12:10:35 UTC (rev 27885)
@@ -59,6 +59,11 @@
     return implode($sep, $this->getTagNames());
   }
 
+  public function getTagsAsString ($sep = ', ')
+  {
+    return $this->getTagsString($sep);
+  }
+
   public function setTags($tags)
   {
     $tagIds = $this->getTagIds($tags);

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

Reply via email to