Class Ajax

Methods summary

public
# sendResult( mixed $result )

Sends a result to the client and ends the execution.

public
# sendError( string|Exception|Concrete\Core\Error\Error $error )

Sends an error to the client and ends the execution.