Source of file InstagramPost.php
Size: 0,617 Bytes - Last Modified: 2021-12-23T10:05:34+00:00
/var/www/docs.ssmods.com/process/src/code/InstagramPost.php
12345678910111213141516171819202122232425262728 | <?php class InstagramPost extends SocialPost { private static $db = array( "Tags" => "Text", "Caption" => "Varchar(255)", "CommentCount" => "Int", "LikeCount" => "Int", "Link" => "Varchar(255)", "ImageURL" => "Varchar(255)", "Processed" => "Boolean", "OrigMessage" => "Text" ); private static $has_one = array( "Subscription" => "InstagramSubscription" ); private static $default_sort = "Posted DESC"; public function setTags($tags) { $this->Tags = is_array($tags) ? implode(',', $tags) : $tags; } } |