interface WebPreconditionInterface implements PreconditionInterface (View source)

Interface for the checks to be performed before installing concrete5 that need a web environment.

Methods

string
getName()

Get the precondition name.

string
getUniqueIdentifier()

Get the precondition handle.

performCheck()

Get the precondition result.

bool
isOptional()

Is this an optional precondition?

int|null
getInitialState()

Get the initial state of the precondition.

string
getInitialMessage()

Get the initial message of the precondition.

getHtml()

Get the HTML used to check the precondition.

getAjaxAnswer(string $argument)

Get the answer of ajax calls.

Details

string getName()

Get the precondition name.

Return Value

string

string getUniqueIdentifier()

Get the precondition handle.

Return Value

string

PreconditionResult performCheck()

Get the precondition result.

Return Value

PreconditionResult

bool isOptional()

Is this an optional precondition?

Return Value

bool

int|null getInitialState()

Get the initial state of the precondition.

Return Value

int|null One of the PreconditionResult::STATE_... constants (or NULL if working)

string getInitialMessage()

Get the initial message of the precondition.

Return Value

string

getHtml()

Get the HTML used to check the precondition.

getAjaxAnswer(string $argument)

Get the answer of ajax calls.

Parameters

string $argument