function update($entryId, Kaltura_Client_Type_MixEntry $mixEntry) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "mixEntry", $mixEntry->toParams()); $this->client->queueServiceActionCall("mixing", "update", $kparams); if ($this->client->isMultiRequest()) { return $this->client->getMultiRequestResult(); } $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "Kaltura_Client_Type_MixEntry"); return $resultObject; }
function update($entryId, Kaltura_Client_Type_MixEntry $mixEntry) { $kparams = array(); $this->client->addParam($kparams, "entryId", $entryId); $this->client->addParam($kparams, "mixEntry", $mixEntry->toParams()); $this->client->queueServiceActionCall("mixing", "update", "KalturaMixEntry", $kparams); if ($this->client->isMultiRequest()) { return $this->client->getMultiRequestResult(); } $resultXml = $this->client->doQueue(); $resultXmlObject = new \SimpleXMLElement($resultXml); Kaltura_Client_ParseUtils::checkIfError($resultXmlObject->result); $resultObject = Kaltura_Client_ParseUtils::unmarshalObject($resultXmlObject->result, "KalturaMixEntry"); $this->client->validateObjectType($resultObject, "Kaltura_Client_Type_MixEntry"); return $resultObject; }