예제 #1
0
 function update($id, KalturaAccessControlProfile $accessControlProfile)
 {
     $kparams = array();
     $this->client->addParam($kparams, "id", $id);
     $this->client->addParam($kparams, "accessControlProfile", $accessControlProfile->toParams());
     $this->client->queueServiceActionCall("accesscontrolprofile", "update", $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultObject = $this->client->doQueue();
     $this->client->throwExceptionIfError($resultObject);
     $this->client->validateObjectType($resultObject, "KalturaAccessControlProfile");
     return $resultObject;
 }