lookup a statusnetwork by tag

This commit is contained in:
Evan Prodromou 2011-04-26 15:31:25 -04:00
parent 937521a1c6
commit 79c01bec4e

View File

@ -129,4 +129,15 @@ class Status_network_tag extends Safe_DataObject
$this->decache(); $this->decache();
return $ret; return $ret;
} }
static function withTag($tag)
{
$snt = new Status_network_tag();
$snt->tag = $tag;
$snt->find();
return $snt;
}
} }