Add itemsource module

This commit is contained in:
Hypolite Petovan 2018-10-18 22:49:25 -04:00
parent eb714f0487
commit d0681075bf
3 changed files with 72 additions and 0 deletions

View file

@ -26,6 +26,11 @@ class Conversation
const PARCEL_TWITTER = 67;
const PARCEL_UNKNOWN = 255;
public static function getByItemUri($item_uri)
{
return DBA::selectFirst('conversation', [], ['item-uri' => $item_uri]);
}
/**
* @brief Store the conversation data
*