CORE POS - IS4C
The CORE POS front end
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
COREPOS\pos\lib\AjaxCallback Class Reference
Inheritance diagram for COREPOS\pos\lib\AjaxCallback:
AjaxPaycardAuth COREPOS\pos\ajax\AjaxCabReceipt COREPOS\pos\ajax\AjaxDecision COREPOS\pos\ajax\AjaxEnd COREPOS\pos\ajax\AjaxEndorse COREPOS\pos\ajax\AjaxJsError COREPOS\pos\ajax\AjaxParser COREPOS\pos\ajax\AjaxPollScale COREPOS\pos\ajax\AjaxScale

Public Member Functions

 getEncoding ()
 
 ajax ($input=array())
 

Static Public Member Functions

static unitTest ($class)
 
static run ()
 
static ajaxFatal ()
 

Static Protected Member Functions

static perfStart ()
 
static perfEnd ()
 

Protected Attributes

 $encoding = 'json'
 

Static Protected Attributes

static $logger
 
static $elapsed = null
 

Member Function Documentation

static COREPOS\pos\lib\AjaxCallback::ajaxFatal ( )
static

Output valid JSON when a fatal error occurs. Logging is handled by COREPOS. This response lets calling javascript code notify the user that something went wrong.

static COREPOS\pos\lib\AjaxCallback::run ( )
static

timing calls is off by default. uncomment start and end calls to collect data


The documentation for this class was generated from the following file: