function KalturaClient::addEntry in Kaltura 6
Same name and namespace in other branches
- 5 kaltura_client/kaltura_client.php \KalturaClient::addEntry()
File
- kaltura_client/
kaltura_client.php, line 517
Class
Code
function addEntry($kalturaSessionUser, $kshowId, $entry, $uid = null) {
$params = array();
$params["kshow_id"] = $kshowId;
$this
->addOptionalParam($params, "entry_name", $entry->name);
$this
->addOptionalParam($params, "entry_tags", $entry->tags);
$this
->addOptionalParam($params, "entry_type", $entry->type);
$this
->addOptionalParam($params, "entry_mediaType", $entry->mediaType);
$this
->addOptionalParam($params, "entry_source", $entry->source);
$this
->addOptionalParam($params, "entry_sourceId", $entry->sourceId);
$this
->addOptionalParam($params, "entry_sourceLink", $entry->sourceLink);
$this
->addOptionalParam($params, "entry_licenseType", $entry->licenseType);
$this
->addOptionalParam($params, "entry_credit", $entry->credit);
$this
->addOptionalParam($params, "entry_groupId", $entry->groupId);
$this
->addOptionalParam($params, "entry_partnerData", $entry->partnerData);
$this
->addOptionalParam($params, "entry_conversionQuality", $entry->conversionQuality);
$this
->addOptionalParam($params, "entry_permissions", $entry->permissions);
$this
->addOptionalParam($params, "entry_dataContent", $entry->dataContent);
$this
->addOptionalParam($params, "entry_desiredVersion", $entry->desiredVersion);
$this
->addOptionalParam($params, "entry_url", $entry->url);
$this
->addOptionalParam($params, "entry_thumbUrl", $entry->thumbUrl);
$this
->addOptionalParam($params, "entry_filename", $entry->filename);
$this
->addOptionalParam($params, "entry_realFilename", $entry->realFilename);
$this
->addOptionalParam($params, "entry_indexedCustomData1", $entry->indexedCustomData1);
$this
->addOptionalParam($params, "entry_thumbOffset", $entry->thumbOffset);
$this
->addOptionalParam($params, "entry_mediaId", $entry->mediaId);
$this
->addOptionalParam($params, "entry_screenName", $entry->screenName);
$this
->addOptionalParam($params, "entry_siteUrl", $entry->siteUrl);
$this
->addOptionalParam($params, "entry_description", $entry->description);
$this
->addOptionalParam($params, "entry_mediaDate", $entry->mediaDate);
$this
->addOptionalParam($params, "entry_adminTags", $entry->adminTags);
$this
->addOptionalParam($params, "uid", $uid);
$result = $this
->hit("addentry", $kalturaSessionUser, $params);
return $result;
}