Exemplo n.º 1
0
 public function call($service, $apiName, $params, $opt = array())
 {
     $callback = 'solo';
     $request = Request::createRequest();
     $request->setApi($service, $apiName, $opt);
     $request->setParam($params);
     $response = Transport::exec(array($callback => $request), $opt);
     return $response[$callback];
 }
Exemplo n.º 2
0
 public function callData()
 {
     $this->responseList = Transport::exec($this->requestList, $this->options);
     $this->requestList = array();
     return $this->responseList;
 }