Documentation:bb apiServer
From M3:DEV
[edit]
The bb_apiServer Class
[edit]
Introduction
bb_apiServer - is the main gateway for XML request.
[edit]
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*/
[edit]
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();

