You are here

function KalturaClient::addUiConf in Kaltura 5

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

File

kaltura_client/kaltura_client.php, line 693

Class

KalturaClient

Code

function addUiConf($kalturaSessionUser, $uiconf) {
  $params = array();
  $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("adduiconf", $kalturaSessionUser, $params);
  return $result;
}