RequestUrls
class RequestUrls implements WebPreconditionInterface (View source)
Properties
protected ResolverManager | $resolver | The URL resolver. |
Methods
string
getName()
Get the precondition name.
string
getUniqueIdentifier()
Get the precondition handle.
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.
performCheck()
Get the precondition result.
getAjaxAnswer(string $argument)
Get the answer of ajax calls.
Details
__construct(ResolverManager $resolver)
Initialize the instance.
string
getName()
Get the precondition name.
string
getUniqueIdentifier()
Get the precondition handle.
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.
PreconditionResult
performCheck()
Get the precondition result.
getAjaxAnswer(string $argument)
Get the answer of ajax calls.