function KalturaClient::updatePartner in Kaltura 5
Same name and namespace in other branches
- 6 kaltura_client/kaltura_client.php \KalturaClient::updatePartner()
File
- kaltura_client/
kaltura_client.php, line 1905
Class
Code
function updatePartner($kalturaSessionUser, $partner) {
$params = array();
$this
->addOptionalParam($params, "partner_name", $partner->name);
$this
->addOptionalParam($params, "partner_url1", $partner->url1);
$this
->addOptionalParam($params, "partner_url2", $partner->url2);
$this
->addOptionalParam($params, "partner_appearInSearch", $partner->appearInSearch);
$this
->addOptionalParam($params, "partner_adminName", $partner->adminName);
$this
->addOptionalParam($params, "partner_adminEmail", $partner->adminEmail);
$this
->addOptionalParam($params, "partner_description", $partner->description);
$this
->addOptionalParam($params, "partner_commercialUse", $partner->commercialUse);
$this
->addOptionalParam($params, "partner_landingPage", $partner->landingPage);
$this
->addOptionalParam($params, "partner_userLandingPage", $partner->userLandingPage);
$this
->addOptionalParam($params, "partner_notificationsConfig", $partner->notificationsConfig);
$this
->addOptionalParam($params, "partner_notify", $partner->notify);
$this
->addOptionalParam($params, "partner_allowMultiNotification", $partner->allowMultiNotification);
$this
->addOptionalParam($params, "partner_contentCategories", $partner->contentCategories);
$this
->addOptionalParam($params, "partner_type", $partner->type);
$result = $this
->hit("updatepartner", $kalturaSessionUser, $params);
return $result;
}