You are here

function KalturaClient::updateEntry in Kaltura 5

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

File

kaltura_client/kaltura_client.php, line 1798

Class

KalturaClient

Code

function updateEntry($kalturaSessionUser, $entryId, $entry, $allowEmptyField = null) {
  $params = array();
  $params["entry_id"] = $entryId;
  $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, "allow_empty_field", $allowEmptyField);
  $result = $this
    ->hit("updateentry", $kalturaSessionUser, $params);
  return $result;
}