AjaxHandler

AjaxHandler

Filename : /classes/ajax/ajaxhandler.php
Extends :

Description

This class handles all the AJAX calls coming back to the Vortex from the html frontend.
Note: This is an internal Vortex class that is not intended for use in scripts

Fields

DOM

Definition : const DOM = 0x0008;
Description
Internal use for determining response type.

ERROR

Definition : const ERROR = 0x8000;
Description
Internal use for determining response type.

XML

Definition : const XML = 0x0001;
Description
Internal use for determining response type.

XMLSTART

Definition : const XMLSTART = 0x0002;
Description
Internal use for determining response type.

XMLSTOP

Definition : const XMLSTOP = 0x0004;
Description
Internal use for determining response type.

Methods

__construct()

Definition : public function __construct()

Returns : AJAXHandler instance

Description
Initializing the response, constructing a new instance of the AJAXHandler.

Parameters

handle()

Definition : public function handle()

Returns :

Description
Handles the AJAX request and builds a response.

Parameters