function KalturaClient::addKShow in Kaltura 5
Same name and namespace in other branches
- 6 kaltura_client/kaltura_client.php \KalturaClient::addKShow()
File
- kaltura_client/
kaltura_client.php, line 554
Class
Code
function addKShow($kalturaSessionUser, $kshow, $detailed = null, $allowDuplicateNames = null) {
$params = array();
$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("addkshow", $kalturaSessionUser, $params);
return $result;
}