You are here

function KalturaClient::updateKShow in Kaltura 6

Same name and namespace in other branches
  1. 5 kaltura_client/kaltura_client.php \KalturaClient::updateKShow()

File

kaltura_client/kaltura_client.php, line 1865

Class

KalturaClient

Code

function updateKShow($kalturaSessionUser, $kshowId, $kshow, $detailed = null, $allowDuplicateNames = null) {
  $params = array();
  $params["kshow_id"] = $kshowId;
  $this
    ->addOptionalParam($params, "kshow_name", $kshow->name);
  $this
    ->addOptionalParam($params, "kshow_description", $kshow->description);
  $this
    ->addOptionalParam($params, "kshow_tags", $kshow->tags);
  $this
    ->addOptionalParam($params, "kshow_indexedCustomData3", $kshow->indexedCustomData3);
  $this
    ->addOptionalParam($params, "kshow_groupId", $kshow->groupId);
  $this
    ->addOptionalParam($params, "kshow_permissions", $kshow->permissions);
  $this
    ->addOptionalParam($params, "kshow_partnerData", $kshow->partnerData);
  $this
    ->addOptionalParam($params, "kshow_allowQuickEdit", $kshow->allowQuickEdit);
  $this
    ->addOptionalParam($params, "detailed", $detailed);
  $this
    ->addOptionalParam($params, "allow_duplicate_names", $allowDuplicateNames);
  $result = $this
    ->hit("updatekshow", $kalturaSessionUser, $params);
  return $result;
}