You are here

function KalturaClient::updateUiconf in Kaltura 6

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

File

kaltura_client/kaltura_client.php, line 1964

Class

KalturaClient

Code

function updateUiconf($kalturaSessionUser, $uiconfId, $uiconf) {
  $params = array();
  $params["uiconf_id"] = $uiconfId;
  $this
    ->addOptionalParam($params, "uiconf_name", $uiconf->name);
  $this
    ->addOptionalParam($params, "uiconf_objType", $uiconf->objType);
  $this
    ->addOptionalParam($params, "uiconf_width", $uiconf->width);
  $this
    ->addOptionalParam($params, "uiconf_height", $uiconf->height);
  $this
    ->addOptionalParam($params, "uiconf_htmlParams", $uiconf->htmlParams);
  $this
    ->addOptionalParam($params, "uiconf_swfUrl", $uiconf->swfUrl);
  $this
    ->addOptionalParam($params, "uiconf_swfUrlVersion", $uiconf->swfUrlVersion);
  $this
    ->addOptionalParam($params, "uiconf_confFile", $uiconf->confFile);
  $this
    ->addOptionalParam($params, "uiconf_confVars", $uiconf->confVars);
  $this
    ->addOptionalParam($params, "uiconf_useCdn", $uiconf->useCdn);
  $this
    ->addOptionalParam($params, "uiconf_tags", $uiconf->tags);
  $result = $this
    ->hit("updateuiconf", $kalturaSessionUser, $params);
  return $result;
}