DorsetDigital\SimpleInstagram\InstagramHelper
Simple wrapper to get the Instagram feed of a user and return it as a SilverStripe data list
- Author: Tim Burt - dorset-digital.net
Synopsis
class InstagramHelper
implements
Flushable
{
- // members
- private $api;
- private $cache;
- private static bool $enable_cache = false;
- private static bool $cache_time = 900;
- // methods
- public void __construct()
- public void getFeed()
- public static void flush()
Hierarchy
Uses
- SilverStripe\Core\Injector\Injectable
- SilverStripe\Core\Config\Configurable
Implements
- SilverStripe\Core\Flushable
Members
private
- $api
- $cache
- $cache_time — DorsetDigital\SimpleInstagram\bool
- $enable_cache — DorsetDigital\SimpleInstagram\bool