Innoweb\SectionIO\SectionIO
Synopsis
class SectionIO
implements
Flushable
{
- // constants
- const SITETREE_STRATEGY_SINGLE = 'single';
- const SITETREE_STRATEGY_PARENTS = 'parents';
- const SITETREE_STRATEGY_ALL = 'all';
- const SITETREE_STRATEGY_SMART = 'smart';
- const SITETREE_STRATEGY_EVERYTING = 'everything';
- // members
- private static boolean $flush_on_dev_build = true;
- private static string $sitetree_flush_strategy = 'smart';
- private static string $api_url = 'https://aperture.section.io/api/v1';
- private static $account_id = NULL;
- private static $application_id = NULL;
- private static $environment_name = NULL;
- private static $proxy_name = NULL;
- private static $username = NULL;
- private static $password = NULL;
- private static boolean $verify_ssl = true;
- private static boolean $async = true;
- // methods
- public static void flush()
- public static void flushAll()
- public static void flushImage()
- public static void flushFile()
- public static void flushSiteTree()
- public static void flushURL()
- protected static void performFlush()
- protected static void getUrls()
- protected static void checkConfig()
Hierarchy
Uses
- SilverStripe\Core\Config\Configurable
- SilverStripe\Core\Injector\Injectable
Implements
- SilverStripe\Core\Flushable
Constants
Name | Value |
---|---|
SITETREE_STRATEGY_SINGLE | 'single' |
SITETREE_STRATEGY_PARENTS | 'parents' |
SITETREE_STRATEGY_ALL | 'all' |
SITETREE_STRATEGY_SMART | 'smart' |
SITETREE_STRATEGY_EVERYTING | 'everything' |
Members
private
- $account_id
- $api_url
- $application_id
- $async
- $environment_name
- $flush_on_dev_build
- $password
- $proxy_name
- $sitetree_flush_strategy
- $username
- $verify_ssl
Methods
protected
public
- flush() — Implementation of Flushable::flush() Is triggered on dev/build and ?flush=1.
- flushAll()
- flushFile()
- flushImage()
- flushSiteTree()
- flushURL()