Swordfox\Shopify\Model\ShopifyImage
Class Image
Synopsis
class ShopifyImage
extends DataObject
{
- // members
- private static string $table_name = 'ShopifyImage';
- private static array $db = ;
- private static array $data_map = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static array $indexes = ;
- private static array $summary_fields = ;
- // methods
- public void getCMSFields()
- public static Image findOrMakeFromShopifyData()
- public static void getByShopifyID()
- private void downloadImage()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $data_map
- $db
- $has_many
- $has_one
- $indexes
- $summary_fields
- $table_name
Methods
private
- downloadImage() — Download the image from the shopify CDN
public
- findOrMakeFromShopifyData() — Creates a new Shopify Image from the given data
- getByShopifyID()
- getCMSFields()