Beispiel #1
0
 function updateExclusiveMailJob($id, $processorLocation, $pocessorName, KalturaMailJob $mailJob)
 {
     $kparams = array();
     $this->client->addParam($kparams, "id", $id);
     $this->client->addParam($kparams, "processorLocation", $processorLocation);
     $this->client->addParam($kparams, "pocessorName", $pocessorName);
     $this->client->addParam($kparams, "mailJob", $mailJob->toParams());
     $this->client->queueServiceActionCall("batch", "updateExclusiveMailJob", $kparams);
     if ($this->client->isMultiRequest()) {
         return null;
     }
     $resultObject = $this->client->doQueue();
     $this->client->throwExceptionIfError($resultObject);
     $this->client->validateObjectType($resultObject, "KalturaMailJob");
     return $resultObject;
 }