function update($entryId, KalturaDataEntry $documentEntry) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "documentEntry", $documentEntry->toParams()); $this->client->queueServiceActionCall("data", "update", $kparams); if ($this->client->isMultiRequest()) { return null; } $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "KalturaDataEntry"); return $resultObject; }