Ajax
class Ajax (View source)
Methods
bool
Details
bool
isAjaxRequest(Request $request)
Check if a request is an Ajax call.
sendResult(mixed $result)
deprecated
deprecated
Sends a result to the client and ends the execution.
sendError(mixed $error)
deprecated
deprecated
Sends an error to the client and ends the execution.