Documentation:bb apiServer

From M3:DEV

Jump to: navigation, search

The bb_apiServer Class

Introduction

bb_apiServer - is the main gateway for XML request.

Class Synopsis

bb_apiServer


/*Properties*/

private string $apiKey;

private string $namespace;

private string $method;

public string $xmlRequest;

public array $parameters

/*Methods*/

run( void )


/*Inherited Methods*/

Methods

run - Runs the XML Request sent to the server and return a response based on the method called.

Example:

include_once ('system/class.api.php');
$api=new bb_apiServer($xmlrequest);
$response=$api->run();
Personal tools