Пример #1
0
 /**
  * This is a very early version of this service that just 
  * Extracts all the ID from the submitted data and then
  * returns them in a list (in essence saying that everything
  * is unique).
  * 
  * @param $_POST[] $postData 
  */
 public function RunService($postData)
 {
     //Extract the JSON from the postData
     $json = $postData["data"];
     $engine = new ServiceEngine();
     $returnData = $engine->Run($json);
     return $returnData;
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct(new MVCEngine(), new XMLDeliveryTrait());
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct(new SpiritEngineProxy(), new JSONDeliveryTrait());
 }