]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Status_network_tag.php
lookup a statusnetwork by tag
[quix0rs-gnu-social.git] / classes / Status_network_tag.php
index 2273ecb2e5cf90fb08d96c30ba3ca65996673474..00ff0d85200c8938421b4e9c818fe7455f75f673 100644 (file)
@@ -129,4 +129,15 @@ class Status_network_tag extends Safe_DataObject
         $this->decache();
         return $ret;
     }
+
+    static function withTag($tag)
+    {
+        $snt = new Status_network_tag();
+
+        $snt->tag = $tag;
+
+        $snt->find();
+
+        return $snt;
+    }
 }