Skip to content

Commit

Permalink
Admin instagram post field changes
Browse files Browse the repository at this point in the history
  • Loading branch information
3Dgoo committed Jun 4, 2020
1 parent 6d60503 commit cadcfb5
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/Model/InstagramPost.php
Expand Up @@ -4,6 +4,22 @@

use SilverStripe\ORM\DataObject;

/**
* @property string $InstagramID
* @property string $ShortCode
* @property string $Handle
* @property string $Caption
* @property string $Link
* @property string $Type
* @property string $ImageLowResolutionUrl
* @property string $ImageStandardResolutionUrl
* @property string $ImageHighResolutionUrl
* @property string $ImageThumbnailURL
* @property mixed $Posted
* @property int $LikesCount
* @property int $CommentsCount
* @property bool $Show
*/
class InstagramPost extends DataObject
{
private static $db = [
Expand Down Expand Up @@ -33,9 +49,16 @@ class InstagramPost extends DataObject
private static $table_name = 'InstagramPost';

private static $summary_fields = [
'ImageThumbnailURL',
'ShortCode',
'Handle',
'Caption',
'Posted',
'Show.Nice',
];

private static $field_labels = [
'ImageThumbnailURL' => 'Image',
'Show.Nice' => 'Show',
];
}

0 comments on commit cadcfb5

Please sign in to comment.