class SilverStripeAwareInitializer implements ContextInitializer (View source)

SilverStripe aware contexts initializer.

Sets SilverStripe instance to the SilverStripeAware contexts.

Properties

protected array $ajaxSteps
protected int $ajaxTimeout
protected string $adminUrl
protected string $loginUrl
protected string $screenshotPath
protected object $testSessionEnvironment
protected $regionMap

Methods

public
__construct()

Initializes initializer.

public
__destruct()

No description

public
bool
supports(Context $context)

Checks if initializer supports provided context.

public
initializeContext(Context $context)

Initializes provided context.

public
setAjaxSteps($ajaxSteps)

No description

public
getAjaxSteps()

No description

public
setAjaxTimeout($ajaxTimeout)

No description

public
getAjaxTimeout()

No description

public
setAdminUrl($adminUrl)

No description

public
getAdminUrl()

No description

public
setLoginUrl($loginUrl)

No description

public
getLoginUrl()

No description

public
setScreenshotPath($screenshotPath)

No description

public
getScreenshotPath()

No description

public
getRegionMap()

No description

public
setRegionMap($regionMap)

No description

Details

__construct()

Initializes initializer.

__destruct()

No description

bool supports(Context $context)

Checks if initializer supports provided context.

Parameters

Context $context

Return Value

bool

initializeContext(Context $context)

Initializes provided context.

Parameters

Context $context

setAjaxSteps($ajaxSteps)

No description

Parameters

$ajaxSteps

getAjaxSteps()

No description

setAjaxTimeout($ajaxTimeout)

No description

Parameters

$ajaxTimeout

getAjaxTimeout()

No description

setAdminUrl($adminUrl)

No description

Parameters

$adminUrl

getAdminUrl()

No description

setLoginUrl($loginUrl)

No description

Parameters

$loginUrl

getLoginUrl()

No description

setScreenshotPath($screenshotPath)

No description

Parameters

$screenshotPath

getScreenshotPath()

No description

getRegionMap()

No description

setRegionMap($regionMap)

No description

Parameters

$regionMap