class JsonErrorHandler extends Handler (View source)

Methods

handle()

No description

bool
isAjaxRequest()

Check, if possible, that this execution was triggered by an AJAX request.

bool|null
clientSupportsJson(float $minWeight = null)

Check if the client supports JSON.

Details

handle()

private bool isAjaxRequest()

Check, if possible, that this execution was triggered by an AJAX request.

Return Value

bool

private bool|null clientSupportsJson(float $minWeight = null)

Check if the client supports JSON.

Parameters

float $minWeight

Return Value

bool|null true: yes; false: no; NULL: we weren't able to detect it