setDebugRequests() публичный Метод

public setDebugRequests ( $debug )
Пример #1
0
 public function send()
 {
     if ($this->apiSessionObject != null) {
         $this->multiRequest = new Gpf_Rpc_MultiRequest();
         $this->multiRequest->setUrl($this->apiSessionObject->getUrl());
         $this->multiRequest->useNewStyleRequestsEncoding($this->useNewStyleRequestsEncoding);
         $this->multiRequest->setSessionId($this->apiSessionObject->getSessionId());
         $this->multiRequest->setDebugRequests($this->apiSessionObject->getDebug());
     }
     $multiRequest = $this->getMultiRequest();
     $multiRequest->add($this);
     $multiRequest->useNewStyleRequestsEncoding($this->useNewStyleRequestsEncoding);
 }