Latest JAS v1.1.0
144 plugins online

Code / API

API
Class
include/api/api.php

The API class acts as a base class for the various APIs available in JAS (CSV, Data and XML). You'll generally only use this class when you're creating a new API.

Class variables

e (object)
Variable
Errors object
mode
Variable
Either: server or client
modes
Variable
Internal list of available modes
version
Variable
Version number of the API
encoding
Variable
Text encoding of the API
contentType (text)
Variable
Content type header output by the API
type
Variable
API type
config (array)
Variable
Configuration
output (text)
Variable
Output of the API
filename (boolean)
Variable
Output filename of the API
commands
Variable
Commands array
requestResponseHeaders
Variable
Contains all request headers

Comments (0)