diff options
Diffstat (limited to 'lib/Db/Item.php')
-rw-r--r-- | lib/Db/Item.php | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/Db/Item.php b/lib/Db/Item.php index 3dedd308d..ae2bb4d17 100644 --- a/lib/Db/Item.php +++ b/lib/Db/Item.php @@ -77,7 +77,7 @@ class Item extends Entity implements IAPI, \JsonSerializable public static function fromImport($import): Item { - $item = new static(); + $item = new Item(); $item->setGuid($import['guid']); $item->setGuidHash($import['guid']); $item->setUrl($import['url']); @@ -147,6 +147,22 @@ class Item extends Entity implements IAPI, \JsonSerializable /** * @return null|string */ + public function getMediaThumbnail() + { + return $this->mediaThumbnail; + } + + /** + * @return null|string + */ + public function getMediaDescription() + { + return $this->mediaDescription; + } + + /** + * @return null|string + */ public function getEnclosureMime() { return $this->enclosureMime; |