XD\Shopify\Model\Image
Class Image
Synopsis
class Image
extends Image
{
- // members
- private static string $table_name = 'ShopifyImage';
- private static array $db = ;
- private static string $default_sort = 'Sort ASC';
- 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\Assets\Image
Members
private
- $data_map
- $db
- $default_sort
- $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()