CORE POS - Fannie
The CORE POS back end
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
COREPOS\Fannie\API\webservices\FannieWebService Class Reference
Inheritance diagram for COREPOS\Fannie\API\webservices\FannieWebService:
CalendarAjax COREPOS\Fannie\API\webservices\FannieAutoComplete COREPOS\Fannie\API\webservices\FannieDeptLookup COREPOS\Fannie\API\webservices\FannieItemInfo FannieWebService FannieAutoComplete FannieDeptLookup FannieItemInfo

Public Member Functions

 __construct ()
 
 run ($args=array())
 

Public Attributes

 $type = 'json'
 

Protected Member Functions

 renderJson ($arr)
 
 renderPlain ($arr)
 

Constructor & Destructor Documentation

COREPOS\Fannie\API\webservices\FannieWebService::__construct ( )

constructor will run the webservice automatically

Member Function Documentation

COREPOS\Fannie\API\webservices\FannieWebService::renderJson (   $arr)
protected

Create JSON representation of array

Parameters
$arran array
Returns
JSON string
COREPOS\Fannie\API\webservices\FannieWebService::renderPlain (   $arr)
protected

Simple render concatenate array to string

Parameters
$arran array
Returns
string
COREPOS\Fannie\API\webservices\FannieWebService::run (   $args = array())

Do whatever the service is supposed to do. Should override this.

Parameters
$argsarray of data
Returns
an array of data

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