http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72850

Revision: 72850
Author:   nikerabbit
Date:     2010-09-12 11:34:48 +0000 (Sun, 12 Sep 2010)

Log Message:
-----------
Add getTags method to TMessage

Modified Paths:
--------------
    trunk/extensions/Translate/Message.php

Modified: trunk/extensions/Translate/Message.php
===================================================================
--- trunk/extensions/Translate/Message.php      2010-09-12 10:39:05 UTC (rev 
72849)
+++ trunk/extensions/Translate/Message.php      2010-09-12 11:34:48 UTC (rev 
72850)
@@ -89,6 +89,14 @@
        public function hasTag( $tag ) {
                return in_array( $tag, $this->tags, true );
        }
+
+       /**
+        * Return all tags for this message;
+        * @return \list{String}
+        */
+       public function getTags() {
+               return $this->tags;
+       }
 }
 
 /**



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to