View source
<?php
require_once "kaltura_client_base.php";
class KalturaContentCategories {
var $categories = array(
'Arts & Literature',
'Automotive',
'Business',
'Comedy',
'Education',
'Entertainment',
'Film & Animation',
'Gaming',
'Howto & Style',
'Lifestyle',
'Men',
'Music',
'News & Politics',
'Nonprofits & Activism',
'People & Blogs',
'Pets & Animals',
'Science & Technology',
'Sports',
'Travel & Events',
'Women',
);
}
class KalturaEntry {
var $name;
var $tags;
var $type;
var $mediaType;
var $source;
var $sourceId;
var $sourceLink;
var $licenseType;
var $credit;
var $groupId;
var $partnerData;
var $conversionQuality;
var $permissions;
var $dataContent;
var $desiredVersion;
var $url;
var $thumbUrl;
var $filename;
var $realFilename;
var $indexedCustomData1;
var $thumbOffset;
var $mediaId;
var $screenName;
var $siteUrl;
var $description;
var $mediaDate;
var $adminTags;
}
class KalturaBatchJob {
var $data;
var $status;
var $abort;
var $checkAgainTimeout;
var $progress;
var $message;
var $description;
var $updatesCount;
var $processorExpiration;
}
class KalturaKShow {
var $name;
var $description;
var $tags;
var $indexedCustomData3;
var $groupId;
var $permissions;
var $partnerData;
var $allowQuickEdit;
}
class KalturaModeration {
var $comments;
var $objectType;
var $objectId;
var $reportCode;
var $status;
}
class KalturaUiConf {
var $name;
var $objType;
var $width;
var $height;
var $htmlParams;
var $swfUrl;
var $swfUrlVersion;
var $confFile;
var $confVars;
var $useCdn;
var $tags;
}
class KalturaUser {
var $screenName;
var $fullName;
var $email;
var $dateOfBirth;
var $aboutMe;
var $tags;
var $gender;
var $country;
var $state;
var $city;
var $zip;
var $urlList;
var $networkHighschool;
var $networkCollege;
var $partnerData;
}
class KalturaWidget {
var $kshowId;
var $entryId;
var $sourceWidgetId;
var $uiConfId;
var $customData;
var $partnerData;
var $securityType;
}
class KalturaPuserKuser {
}
define("KalturaConvesionProfileFilter_ORDER_BY_CREATED_AT_ASC", "+created_at");
define("KalturaConvesionProfileFilter_ORDER_BY_CREATED_AT_DESC", "-created_at");
define("KalturaConvesionProfileFilter_ORDER_BY_PROFILE_TYPE_ASC", "+profile_type");
define("KalturaConvesionProfileFilter_ORDER_BY_PROFILE_TYPE_DESC", "-profile_type");
define("KalturaConvesionProfileFilter_ORDER_BY_ID_ASC", "+id");
define("KalturaConvesionProfileFilter_ORDER_BY_ID_DESC", "-id");
class KalturaConvesionProfileFilter {
var $equalId;
var $greaterThanOrEqualId;
var $equalStatus;
var $likeName;
var $inProfileType;
var $equalEnabled;
var $equalType;
var $equalUseWithBulk;
var $orderBy;
var $limit;
}
class KalturaConversionProfile {
var $name;
var $profileType;
var $width;
var $height;
var $aspectRatio;
var $bypassFlv;
var $commercialTranscoder;
var $useWithBulk;
}
define("KalturaBatchJobFilter_ORDER_BY_ID_ASC", "+id");
define("KalturaBatchJobFilter_ORDER_BY_ID_DESC", "-id");
class KalturaBatchJobFilter {
var $equalId;
var $greaterThanOrEqualId;
var $equalStatus;
var $equalJobType;
var $inJobType;
var $orderBy;
var $limit;
}
define("KalturaEntryFilter_ORDER_BY_CREATED_AT_ASC", "+created_at");
define("KalturaEntryFilter_ORDER_BY_CREATED_AT_DESC", "-created_at");
define("KalturaEntryFilter_ORDER_BY_VIEWS_ASC", "+views");
define("KalturaEntryFilter_ORDER_BY_VIEWS_DESC", "-views");
define("KalturaEntryFilter_ORDER_BY_NAME_ASC", "+name");
define("KalturaEntryFilter_ORDER_BY_NAME_DESC", "-name");
define("KalturaEntryFilter_ORDER_BY_MEDIA_DATE_ASC", "+media_date");
define("KalturaEntryFilter_ORDER_BY_MEDIA_DATE_DESC", "-media_date");
define("KalturaEntryFilter_ORDER_BY_TYPE_ASC", "+type");
define("KalturaEntryFilter_ORDER_BY_TYPE_DESC", "-type");
define("KalturaEntryFilter_ORDER_BY_MEDIA_TYPE_ASC", "+media_type");
define("KalturaEntryFilter_ORDER_BY_MEDIA_TYPE_DESC", "-media_type");
define("KalturaEntryFilter_ORDER_BY_PLAYS_ASC", "+plays");
define("KalturaEntryFilter_ORDER_BY_PLAYS_DESC", "-plays");
define("KalturaEntryFilter_ORDER_BY_RANK_ASC", "+rank");
define("KalturaEntryFilter_ORDER_BY_RANK_DESC", "-rank");
define("KalturaEntryFilter_ORDER_BY_MODERATION_COUNT_ASC", "+moderation_count");
define("KalturaEntryFilter_ORDER_BY_MODERATION_COUNT_DESC", "-moderation_count");
define("KalturaEntryFilter_ORDER_BY_MODERATION_STATUS_ASC", "+moderation_status");
define("KalturaEntryFilter_ORDER_BY_MODERATION_STATUS_DESC", "-moderation_status");
define("KalturaEntryFilter_ORDER_BY_MODIFIED_AT_ASC", "+modified_at");
define("KalturaEntryFilter_ORDER_BY_MODIFIED_AT_DESC", "-modified_at");
define("KalturaEntryFilter_ORDER_BY_ID_ASC", "+id");
define("KalturaEntryFilter_ORDER_BY_ID_DESC", "-id");
class KalturaEntryFilter {
var $equalUserId;
var $equalKshowId;
var $equalStatus;
var $inStatus;
var $equalType;
var $inType;
var $equalMediaType;
var $inMediaType;
var $equalIndexedCustomData1;
var $inIndexedCustomData1;
var $likeName;
var $equalName;
var $equalTags;
var $likeTags;
var $multiLikeOrTags;
var $multiLikeAndTags;
var $multiLikeOrAdminTags;
var $multiLikeAndAdminTags;
var $likeAdminTags;
var $multiLikeOrName;
var $multiLikeAndName;
var $multiLikeOrSearchText;
var $multiLikeAndSearchText;
var $equalGroupId;
var $greaterThanOrEqualViews;
var $greaterThanOrEqualCreatedAt;
var $lessThanOrEqualCreatedAt;
var $greaterThanOrEqualUpdatedAt;
var $lessThanOrEqualUpdatedAt;
var $greaterThanOrEqualModifiedAt;
var $lessThanOrEqualModifiedAt;
var $inPartnerId;
var $equalPartnerId;
var $equalSourceLink;
var $greaterThanOrEqualMediaDate;
var $lessThanOrEqualMediaDate;
var $equalModerationStatus;
var $inModerationStatus;
var $inDisplayInSearch;
var $multiLikeOrTagsOrName;
var $multiLikeOrTagsOrAdminTags;
var $multiLikeOrTagsOrAdminTagsOrName;
var $orderBy;
var $limit;
}
define("KalturaKShowFilter_ORDER_BY_CREATED_AT_ASC", "+created_at");
define("KalturaKShowFilter_ORDER_BY_CREATED_AT_DESC", "-created_at");
define("KalturaKShowFilter_ORDER_BY_VIEWS_ASC", "+views");
define("KalturaKShowFilter_ORDER_BY_VIEWS_DESC", "-views");
define("KalturaKShowFilter_ORDER_BY_RANK_ASC", "+rank");
define("KalturaKShowFilter_ORDER_BY_RANK_DESC", "-rank");
define("KalturaKShowFilter_ORDER_BY_ID_ASC", "+id");
define("KalturaKShowFilter_ORDER_BY_ID_DESC", "-id");
class KalturaKShowFilter {
var $likeName;
var $likeTags;
var $multiLikeOrTags;
var $multiLikeAndTags;
var $greaterThanOrEqualViews;
var $equalType;
var $equalProducerId;
var $greaterThanOrEqualCreatedAt;
var $lessThanOrEqualCreatedAt;
var $bitAndStatus;
var $equalIndexedCustomData3;
var $orderBy;
var $limit;
}
define("KalturaModerationFilter_ORDER_BY_ID_ASC", "+id");
define("KalturaModerationFilter_ORDER_BY_ID_DESC", "-id");
class KalturaModerationFilter {
var $equalId;
var $equalPuserId;
var $equalStatus;
var $inStatus;
var $likeComments;
var $equalObjectId;
var $equalObjectType;
var $equalGroupId;
var $orderBy;
var $limit;
}
define("KalturaNotificationFilter_ORDER_BY_ID_ASC", "+id");
define("KalturaNotificationFilter_ORDER_BY_ID_DESC", "-id");
class KalturaNotificationFilter {
var $equalId;
var $greaterThanOrEqualId;
var $equalStatus;
var $equalType;
var $orderBy;
var $limit;
}
class KalturaNotification {
var $id;
var $status;
var $notificationResult;
}
define("KalturaUiConfFilter_ORDER_BY_ID_ASC", "+id");
define("KalturaUiConfFilter_ORDER_BY_ID_DESC", "-id");
class KalturaUiConfFilter {
var $equalId;
var $greaterThanOrEqualId;
var $equalStatus;
var $equalObjType;
var $likeName;
var $multiLikeOrTags;
var $orderBy;
var $limit;
}
define("KalturaBatchjobType_CONVERT", "0");
define("KalturaBatchjobType_IMPORT", "1");
define("KalturaBatchjobType_DELETE", "2");
define("KalturaBatchjobType_FLATTEN", "3");
define("KalturaBatchjobType_BULKUPLOAD", "4");
define("KalturaBatchjobType_DVDCREATOR", "5");
define("KalturaBatchjobType_DOWNLOAD", "6");
class KalturaBatchjobType {
}
class KalturaPartner {
var $name;
var $url1;
var $url2;
var $appearInSearch;
var $adminName;
var $adminEmail;
var $description;
var $commercialUse;
var $landingPage;
var $userLandingPage;
var $notificationsConfig;
var $notify;
var $allowMultiNotification;
var $contentCategories;
var $type;
}
define("KalturaEntryMediaType_ANY", "0");
define("KalturaEntryMediaType_VIDEO", "1");
define("KalturaEntryMediaType_IMAGE", "2");
define("KalturaEntryMediaType_TEXT", "3");
define("KalturaEntryMediaType_HTML", "4");
define("KalturaEntryMediaType_AUDIO", "5");
define("KalturaEntryMediaType_SHOW", "6");
define("KalturaEntryMediaType_SHOW_XML", "7");
define("KalturaEntryMediaType_BUBBLES", "9");
define("KalturaEntryMediaType_XML", "10");
define("KalturaEntryMediaType_GENERIC_1", "101");
define("KalturaEntryMediaType_GENERIC_2", "102");
define("KalturaEntryMediaType_GENERIC_3", "103");
define("KalturaEntryMediaType_GENERIC_4", "104");
class KalturaEntryMediaType {
}
define("KalturaEntryMediaSource_FILE", "1");
define("KalturaEntryMediaSource_WEBCAM", "2");
define("KalturaEntryMediaSource_FLICKR", "3");
define("KalturaEntryMediaSource_YOUTUBE", "4");
define("KalturaEntryMediaSource_URL", "5");
define("KalturaEntryMediaSource_TEXT", "6");
define("KalturaEntryMediaSource_MYSPACE", "7");
define("KalturaEntryMediaSource_PHOTOBUCKET", "8");
define("KalturaEntryMediaSource_JAMENDO", "9");
define("KalturaEntryMediaSource_CCMIXTER", "10");
define("KalturaEntryMediaSource_NYPL", "11");
define("KalturaEntryMediaSource_CURRENT", "12");
define("KalturaEntryMediaSource_MEDIA_COMMONS", "13");
define("KalturaEntryMediaSource_KALTURA", "20");
define("KalturaEntryMediaSource_KALTURA_USER_CLIPS", "21");
define("KalturaEntryMediaSource_ARCHIVE_ORG", "22");
define("KalturaEntryMediaSource_KALTURA_PARTNER", "23");
define("KalturaEntryMediaSource_METACAFE", "24");
define("KalturaEntryMediaSource_KALTURA_QA", "25");
define("KalturaEntryMediaSource_KALTURA_KSHOW", "26");
define("KalturaEntryMediaSource_KALTURA_PARTNER_KSHOW", "27");
define("KalturaEntryMediaSource_SEARCH_PROXY", "28");
class KalturaEntryMediaSource {
}
define("KalturaEntryType_BACKGROUND", "0");
define("KalturaEntryType_MEDIACLIP", "1");
define("KalturaEntryType_SHOW", "2");
define("KalturaEntryType_BUBBLES", "4");
define("KalturaEntryType_PLAYLIST", "5");
define("KalturaEntryType_DVD", "300");
class KalturaEntryType {
}
class KalturaClient extends KalturaClientBase {
function KalturaClient($conf) {
KalturaClientBase::KalturaClientBase($conf);
}
function addDownload($kalturaSessionUser, $entryId, $fileFormat, $entryVersion = null) {
$params = array();
$params["entry_id"] = $entryId;
$params["file_format"] = $fileFormat;
$this
->addOptionalParam($params, "entry_version", $entryVersion);
$result = $this
->hit("adddownload", $kalturaSessionUser, $params);
return $result;
}
function addDvdEntry($kalturaSessionUser, $dvdEntry) {
$params = array();
$this
->addOptionalParam($params, "dvdEntry_name", $dvdEntry->name);
$this
->addOptionalParam($params, "dvdEntry_tags", $dvdEntry->tags);
$this
->addOptionalParam($params, "dvdEntry_type", $dvdEntry->type);
$this
->addOptionalParam($params, "dvdEntry_mediaType", $dvdEntry->mediaType);
$this
->addOptionalParam($params, "dvdEntry_source", $dvdEntry->source);
$this
->addOptionalParam($params, "dvdEntry_sourceId", $dvdEntry->sourceId);
$this
->addOptionalParam($params, "dvdEntry_sourceLink", $dvdEntry->sourceLink);
$this
->addOptionalParam($params, "dvdEntry_licenseType", $dvdEntry->licenseType);
$this
->addOptionalParam($params, "dvdEntry_credit", $dvdEntry->credit);
$this
->addOptionalParam($params, "dvdEntry_groupId", $dvdEntry->groupId);
$this
->addOptionalParam($params, "dvdEntry_partnerData", $dvdEntry->partnerData);
$this
->addOptionalParam($params, "dvdEntry_conversionQuality", $dvdEntry->conversionQuality);
$this
->addOptionalParam($params, "dvdEntry_permissions", $dvdEntry->permissions);
$this
->addOptionalParam($params, "dvdEntry_dataContent", $dvdEntry->dataContent);
$this
->addOptionalParam($params, "dvdEntry_desiredVersion", $dvdEntry->desiredVersion);
$this
->addOptionalParam($params, "dvdEntry_url", $dvdEntry->url);
$this
->addOptionalParam($params, "dvdEntry_thumbUrl", $dvdEntry->thumbUrl);
$this
->addOptionalParam($params, "dvdEntry_filename", $dvdEntry->filename);
$this
->addOptionalParam($params, "dvdEntry_realFilename", $dvdEntry->realFilename);
$this
->addOptionalParam($params, "dvdEntry_indexedCustomData1", $dvdEntry->indexedCustomData1);
$this
->addOptionalParam($params, "dvdEntry_thumbOffset", $dvdEntry->thumbOffset);
$this
->addOptionalParam($params, "dvdEntry_mediaId", $dvdEntry->mediaId);
$this
->addOptionalParam($params, "dvdEntry_screenName", $dvdEntry->screenName);
$this
->addOptionalParam($params, "dvdEntry_siteUrl", $dvdEntry->siteUrl);
$this
->addOptionalParam($params, "dvdEntry_description", $dvdEntry->description);
$this
->addOptionalParam($params, "dvdEntry_mediaDate", $dvdEntry->mediaDate);
$this
->addOptionalParam($params, "dvdEntry_adminTags", $dvdEntry->adminTags);
$result = $this
->hit("adddvdentry", $kalturaSessionUser, $params);
return $result;
}
function addDvdJob($kalturaSessionUser, $entryId) {
$params = array();
$params["entry_id"] = $entryId;
$result = $this
->hit("adddvdjob", $kalturaSessionUser, $params);
return $result;
}
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;
}
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;
}
function addModeration($kalturaSessionUser, $moderation) {
$params = array();
$this
->addOptionalParam($params, "moderation_comments", $moderation->comments);
$this
->addOptionalParam($params, "moderation_objectType", $moderation->objectType);
$this
->addOptionalParam($params, "moderation_objectId", $moderation->objectId);
$this
->addOptionalParam($params, "moderation_reportCode", $moderation->reportCode);
$this
->addOptionalParam($params, "moderation_status", $moderation->status);
$result = $this
->hit("addmoderation", $kalturaSessionUser, $params);
return $result;
}
function addPartnerEntry($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("addpartnerentry", $kalturaSessionUser, $params);
return $result;
}
function addPlaylist($kalturaSessionUser, $playlist) {
$params = array();
$this
->addOptionalParam($params, "playlist_name", $playlist->name);
$this
->addOptionalParam($params, "playlist_tags", $playlist->tags);
$this
->addOptionalParam($params, "playlist_type", $playlist->type);
$this
->addOptionalParam($params, "playlist_mediaType", $playlist->mediaType);
$this
->addOptionalParam($params, "playlist_source", $playlist->source);
$this
->addOptionalParam($params, "playlist_sourceId", $playlist->sourceId);
$this
->addOptionalParam($params, "playlist_sourceLink", $playlist->sourceLink);
$this
->addOptionalParam($params, "playlist_licenseType", $playlist->licenseType);
$this
->addOptionalParam($params, "playlist_credit", $playlist->credit);
$this
->addOptionalParam($params, "playlist_groupId", $playlist->groupId);
$this
->addOptionalParam($params, "playlist_partnerData", $playlist->partnerData);
$this
->addOptionalParam($params, "playlist_conversionQuality", $playlist->conversionQuality);
$this
->addOptionalParam($params, "playlist_permissions", $playlist->permissions);
$this
->addOptionalParam($params, "playlist_dataContent", $playlist->dataContent);
$this
->addOptionalParam($params, "playlist_desiredVersion", $playlist->desiredVersion);
$this
->addOptionalParam($params, "playlist_url", $playlist->url);
$this
->addOptionalParam($params, "playlist_thumbUrl", $playlist->thumbUrl);
$this
->addOptionalParam($params, "playlist_filename", $playlist->filename);
$this
->addOptionalParam($params, "playlist_realFilename", $playlist->realFilename);
$this
->addOptionalParam($params, "playlist_indexedCustomData1", $playlist->indexedCustomData1);
$this
->addOptionalParam($params, "playlist_thumbOffset", $playlist->thumbOffset);
$this
->addOptionalParam($params, "playlist_mediaId", $playlist->mediaId);
$this
->addOptionalParam($params, "playlist_screenName", $playlist->screenName);
$this
->addOptionalParam($params, "playlist_siteUrl", $playlist->siteUrl);
$this
->addOptionalParam($params, "playlist_description", $playlist->description);
$this
->addOptionalParam($params, "playlist_mediaDate", $playlist->mediaDate);
$this
->addOptionalParam($params, "playlist_adminTags", $playlist->adminTags);
$result = $this
->hit("addplaylist", $kalturaSessionUser, $params);
return $result;
}
function addRoughcutEntry($kalturaSessionUser, $kshowId, $entry) {
$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);
$result = $this
->hit("addroughcutentry", $kalturaSessionUser, $params);
return $result;
}
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;
}
function addUser($kalturaSessionUser, $userId, $user) {
$params = array();
$params["user_id"] = $userId;
$this
->addOptionalParam($params, "user_screenName", $user->screenName);
$this
->addOptionalParam($params, "user_fullName", $user->fullName);
$this
->addOptionalParam($params, "user_email", $user->email);
$this
->addOptionalParam($params, "user_dateOfBirth", $user->dateOfBirth);
$this
->addOptionalParam($params, "user_aboutMe", $user->aboutMe);
$this
->addOptionalParam($params, "user_tags", $user->tags);
$this
->addOptionalParam($params, "user_gender", $user->gender);
$this
->addOptionalParam($params, "user_country", $user->country);
$this
->addOptionalParam($params, "user_state", $user->state);
$this
->addOptionalParam($params, "user_city", $user->city);
$this
->addOptionalParam($params, "user_zip", $user->zip);
$this
->addOptionalParam($params, "user_urlList", $user->urlList);
$this
->addOptionalParam($params, "user_networkHighschool", $user->networkHighschool);
$this
->addOptionalParam($params, "user_networkCollege", $user->networkCollege);
$this
->addOptionalParam($params, "user_partnerData", $user->partnerData);
$result = $this
->hit("adduser", $kalturaSessionUser, $params);
return $result;
}
function addWidget($kalturaSessionUser, $widget) {
$params = array();
$this
->addOptionalParam($params, "widget_kshowId", $widget->kshowId);
$this
->addOptionalParam($params, "widget_entryId", $widget->entryId);
$this
->addOptionalParam($params, "widget_sourceWidgetId", $widget->sourceWidgetId);
$this
->addOptionalParam($params, "widget_uiConfId", $widget->uiConfId);
$this
->addOptionalParam($params, "widget_customData", $widget->customData);
$this
->addOptionalParam($params, "widget_partnerData", $widget->partnerData);
$this
->addOptionalParam($params, "widget_securityType", $widget->securityType);
$result = $this
->hit("addwidget", $kalturaSessionUser, $params);
return $result;
}
function adminLogin($kalturaSessionUser, $email, $password) {
$params = array();
$params["email"] = $email;
$params["password"] = $password;
$result = $this
->hit("adminlogin", $kalturaSessionUser, $params);
return $result;
}
function appendEntryToRoughcut($kalturaSessionUser, $entryId, $kshowId, $showEntryId = null) {
$params = array();
$params["entry_id"] = $entryId;
$params["kshow_id"] = $kshowId;
$this
->addOptionalParam($params, "show_entry_id", $showEntryId);
$result = $this
->hit("appendentrytoroughcut", $kalturaSessionUser, $params);
return $result;
}
function checkNotifications($kalturaSessionUser, $notificationIds, $separator = ",", $detailed = null) {
$params = array();
$params["notification_ids"] = $notificationIds;
$this
->addOptionalParam($params, "separator", $separator);
$this
->addOptionalParam($params, "detailed", $detailed);
$result = $this
->hit("checknotifications", $kalturaSessionUser, $params);
return $result;
}
function cloneKShow($kalturaSessionUser, $kshowId, $detailed = null) {
$params = array();
$params["kshow_id"] = $kshowId;
$this
->addOptionalParam($params, "detailed", $detailed);
$result = $this
->hit("clonekshow", $kalturaSessionUser, $params);
return $result;
}
function cloneRoughcut($kalturaSessionUser, $entryId, $detailed = null) {
$params = array();
$params["entry_id"] = $entryId;
$this
->addOptionalParam($params, "detailed", $detailed);
$result = $this
->hit("cloneroughcut", $kalturaSessionUser, $params);
return $result;
}
function cloneUiConf($kalturaSessionUser, $uiconfId, $detailed = null) {
$params = array();
$params["uiconf_id"] = $uiconfId;
$this
->addOptionalParam($params, "detailed", $detailed);
$result = $this
->hit("cloneuiconf", $kalturaSessionUser, $params);
return $result;
}
function deleteEntry($kalturaSessionUser, $entryId) {
$params = array();
$params["entry_id"] = $entryId;
$result = $this
->hit("deleteentry", $kalturaSessionUser, $params);
return $result;
}
function deleteKShow($kalturaSessionUser, $kshowId) {
$params = array();
$params["kshow_id"] = $kshowId;
$result = $this
->hit("deletekshow", $kalturaSessionUser, $params);
return $result;
}
function deletePlaylist($kalturaSessionUser, $entryId) {
$params = array();
$params["entry_id"] = $entryId;
$result = $this
->hit("deleteplaylist", $kalturaSessionUser, $params);
return $result;
}
function deleteUser($kalturaSessionUser, $userId) {
$params = array();
$params["user_id"] = $userId;
$result = $this
->hit("deleteuser", $kalturaSessionUser, $params);
return $result;
}
function executePlaylist($kalturaSessionUser, $playlistId, $fp = null, $filter1 = null, $filter2 = null, $filter3 = null, $filter4 = null, $detailed = null, $pageSize = 10, $page = 1, $useFilterPuserId = null) {
$params = array();
$params["playlist_id"] = $playlistId;
$this
->addOptionalParam($params, "fp", $fp);
$this
->addOptionalParam($params, "filter1", $filter1);
$this
->addOptionalParam($params, "filter2", $filter2);
$this
->addOptionalParam($params, "filter3", $filter3);
$this
->addOptionalParam($params, "filter4", $filter4);
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$this
->addOptionalParam($params, "use_filter_puser_id", $useFilterPuserId);
$result = $this
->hit("executeplaylist", $kalturaSessionUser, $params);
return $result;
}
function getAdminTags($kalturaSessionUser) {
$params = array();
$result = $this
->hit("getadmintags", $kalturaSessionUser, $params);
return $result;
}
function getAllEntries($kalturaSessionUser, $entryId, $kshowId, $listType = null, $version = null, $disableRoughcutEntryData = null) {
$params = array();
$params["entry_id"] = $entryId;
$params["kshow_id"] = $kshowId;
$this
->addOptionalParam($params, "list_type", $listType);
$this
->addOptionalParam($params, "version", $version);
$this
->addOptionalParam($params, "disable_roughcut_entry_data", $disableRoughcutEntryData);
$result = $this
->hit("getallentries", $kalturaSessionUser, $params);
return $result;
}
function getDefaultWidget($kalturaSessionUser, $uiConfId = null) {
$params = array();
$this
->addOptionalParam($params, "ui_conf_id", $uiConfId);
$result = $this
->hit("getdefaultwidget", $kalturaSessionUser, $params);
return $result;
}
function getDvdEntry($kalturaSessionUser, $dvdEntryId, $detailed = null) {
$params = array();
$params["dvdEntry_id"] = $dvdEntryId;
$this
->addOptionalParam($params, "detailed", $detailed);
$result = $this
->hit("getdvdentry", $kalturaSessionUser, $params);
return $result;
}
function getEntries($kalturaSessionUser, $entryIds, $separator = ",", $detailed = null) {
$params = array();
$params["entry_ids"] = $entryIds;
$this
->addOptionalParam($params, "separator", $separator);
$this
->addOptionalParam($params, "detailed", $detailed);
$result = $this
->hit("getentries", $kalturaSessionUser, $params);
return $result;
}
function getEntry($kalturaSessionUser, $entryId, $detailed = null, $version = null) {
$params = array();
$params["entry_id"] = $entryId;
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "version", $version);
$result = $this
->hit("getentry", $kalturaSessionUser, $params);
return $result;
}
function getEntryRoughcuts($kalturaSessionUser, $entryId) {
$params = array();
$params["entry_id"] = $entryId;
$result = $this
->hit("getentryroughcuts", $kalturaSessionUser, $params);
return $result;
}
function getKShow($kalturaSessionUser, $kshowId, $detailed = null) {
$params = array();
$params["kshow_id"] = $kshowId;
$this
->addOptionalParam($params, "detailed", $detailed);
$result = $this
->hit("getkshow", $kalturaSessionUser, $params);
return $result;
}
function getLastVersionsInfo($kalturaSessionUser, $kshowId) {
$params = array();
$params["kshow_id"] = $kshowId;
$result = $this
->hit("getlastversionsinfo", $kalturaSessionUser, $params);
return $result;
}
function getMetaDataAction($kalturaSessionUser, $entryId, $kshowId, $version) {
$params = array();
$params["entry_id"] = $entryId;
$params["kshow_id"] = $kshowId;
$params["version"] = $version;
$result = $this
->hit("getmetadata", $kalturaSessionUser, $params);
return $result;
}
function getPartner($kalturaSessionUser, $partnerAdminEmail, $cmsPassword, $partnerId) {
$params = array();
$params["partner_adminEmail"] = $partnerAdminEmail;
$params["cms_password"] = $cmsPassword;
$params["partner_id"] = $partnerId;
$result = $this
->hit("getpartner", $kalturaSessionUser, $params);
return $result;
}
function getPlaylist($kalturaSessionUser, $playlistId, $detailed = null) {
$params = array();
$params["playlist_id"] = $playlistId;
$this
->addOptionalParam($params, "detailed", $detailed);
$result = $this
->hit("getplaylist", $kalturaSessionUser, $params);
return $result;
}
function getThumbnail($kalturaSessionUser, $filename) {
$params = array();
$params["filename"] = $filename;
$result = $this
->hit("getthumbnail", $kalturaSessionUser, $params);
return $result;
}
function getUIConf($kalturaSessionUser, $uiConfId, $detailed = null) {
$params = array();
$params["ui_conf_id"] = $uiConfId;
$this
->addOptionalParam($params, "detailed", $detailed);
$result = $this
->hit("getuiconf", $kalturaSessionUser, $params);
return $result;
}
function getUser($kalturaSessionUser, $userId, $detailed = null) {
$params = array();
$params["user_id"] = $userId;
$this
->addOptionalParam($params, "detailed", $detailed);
$result = $this
->hit("getuser", $kalturaSessionUser, $params);
return $result;
}
function getWidget($kalturaSessionUser, $widgetId, $detailed = null) {
$params = array();
$params["widget_id"] = $widgetId;
$this
->addOptionalParam($params, "detailed", $detailed);
$result = $this
->hit("getwidget", $kalturaSessionUser, $params);
return $result;
}
function handleModeration($kalturaSessionUser, $moderationId, $moderationStatus) {
$params = array();
$params["moderation_id"] = $moderationId;
$params["moderation_status"] = $moderationStatus;
$result = $this
->hit("handlemoderation", $kalturaSessionUser, $params);
return $result;
}
function listConversionProfile($kalturaSessionUser, $filter, $detailed = null, $pageSize = 10, $page = 1) {
$params = array();
$this
->addOptionalParam($params, "filter__eq_id", $filter->equalId);
$this
->addOptionalParam($params, "filter__gte_id", $filter->greaterThanOrEqualId);
$this
->addOptionalParam($params, "filter__eq_status", $filter->equalStatus);
$this
->addOptionalParam($params, "filter__like_name", $filter->likeName);
$this
->addOptionalParam($params, "filter__in_profile_type", $filter->inProfileType);
$this
->addOptionalParam($params, "filter__eq_enabled", $filter->equalEnabled);
$this
->addOptionalParam($params, "filter__eq_type", $filter->equalType);
$this
->addOptionalParam($params, "filter__eq_use_with_bulk", $filter->equalUseWithBulk);
$this
->addOptionalParam($params, "filter__order_by", $filter->orderBy);
$this
->addOptionalParam($params, "filter__limit", $filter->limit);
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$result = $this
->hit("listconversionprofiles", $kalturaSessionUser, $params);
return $result;
}
function listDownloads($kalturaSessionUser, $filter, $detailed = null, $pageSize = 10, $page = 1) {
$params = array();
$this
->addOptionalParam($params, "filter__eq_id", $filter->equalId);
$this
->addOptionalParam($params, "filter__gte_id", $filter->greaterThanOrEqualId);
$this
->addOptionalParam($params, "filter__eq_status", $filter->equalStatus);
$this
->addOptionalParam($params, "filter__eq_job_type", $filter->equalJobType);
$this
->addOptionalParam($params, "filter__in_job_type", $filter->inJobType);
$this
->addOptionalParam($params, "filter__order_by", $filter->orderBy);
$this
->addOptionalParam($params, "filter__limit", $filter->limit);
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$result = $this
->hit("listdownloads", $kalturaSessionUser, $params);
return $result;
}
function listDvdEntries($kalturaSessionUser, $filter, $detailed = null, $detailedFields = null, $pageSize = 10, $page = 1, $useFilterPuserId = null) {
$params = array();
$this
->addOptionalParam($params, "filter__eq_user_id", $filter->equalUserId);
$this
->addOptionalParam($params, "filter__eq_kshow_id", $filter->equalKshowId);
$this
->addOptionalParam($params, "filter__eq_status", $filter->equalStatus);
$this
->addOptionalParam($params, "filter__in_status", $filter->inStatus);
$this
->addOptionalParam($params, "filter__eq_type", $filter->equalType);
$this
->addOptionalParam($params, "filter__in_type", $filter->inType);
$this
->addOptionalParam($params, "filter__eq_media_type", $filter->equalMediaType);
$this
->addOptionalParam($params, "filter__in_media_type", $filter->inMediaType);
$this
->addOptionalParam($params, "filter__eq_indexed_custom_data_1", $filter->equalIndexedCustomData1);
$this
->addOptionalParam($params, "filter__in_indexed_custom_data_1", $filter->inIndexedCustomData1);
$this
->addOptionalParam($params, "filter__like_name", $filter->likeName);
$this
->addOptionalParam($params, "filter__eq_name", $filter->equalName);
$this
->addOptionalParam($params, "filter__eq_tags", $filter->equalTags);
$this
->addOptionalParam($params, "filter__like_tags", $filter->likeTags);
$this
->addOptionalParam($params, "filter__mlikeor_tags", $filter->multiLikeOrTags);
$this
->addOptionalParam($params, "filter__mlikeand_tags", $filter->multiLikeAndTags);
$this
->addOptionalParam($params, "filter__mlikeor_admin_tags", $filter->multiLikeOrAdminTags);
$this
->addOptionalParam($params, "filter__mlikeand_admin_tags", $filter->multiLikeAndAdminTags);
$this
->addOptionalParam($params, "filter__like_admin_tags", $filter->likeAdminTags);
$this
->addOptionalParam($params, "filter__mlikeor_name", $filter->multiLikeOrName);
$this
->addOptionalParam($params, "filter__mlikeand_name", $filter->multiLikeAndName);
$this
->addOptionalParam($params, "filter__mlikeor_search_text", $filter->multiLikeOrSearchText);
$this
->addOptionalParam($params, "filter__mlikeand_search_text", $filter->multiLikeAndSearchText);
$this
->addOptionalParam($params, "filter__eq_group_id", $filter->equalGroupId);
$this
->addOptionalParam($params, "filter__gte_views", $filter->greaterThanOrEqualViews);
$this
->addOptionalParam($params, "filter__gte_created_at", $filter->greaterThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__lte_created_at", $filter->lessThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__gte_updated_at", $filter->greaterThanOrEqualUpdatedAt);
$this
->addOptionalParam($params, "filter__lte_updated_at", $filter->lessThanOrEqualUpdatedAt);
$this
->addOptionalParam($params, "filter__gte_modified_at", $filter->greaterThanOrEqualModifiedAt);
$this
->addOptionalParam($params, "filter__lte_modified_at", $filter->lessThanOrEqualModifiedAt);
$this
->addOptionalParam($params, "filter__in_partner_id", $filter->inPartnerId);
$this
->addOptionalParam($params, "filter__eq_partner_id", $filter->equalPartnerId);
$this
->addOptionalParam($params, "filter__eq_source_link", $filter->equalSourceLink);
$this
->addOptionalParam($params, "filter__gte_media_date", $filter->greaterThanOrEqualMediaDate);
$this
->addOptionalParam($params, "filter__lte_media_date", $filter->lessThanOrEqualMediaDate);
$this
->addOptionalParam($params, "filter__eq_moderation_status", $filter->equalModerationStatus);
$this
->addOptionalParam($params, "filter__in_moderation_status", $filter->inModerationStatus);
$this
->addOptionalParam($params, "filter__in_display_in_search", $filter->inDisplayInSearch);
$this
->addOptionalParam($params, "filter__mlikeor_tags-name", $filter->multiLikeOrTagsOrName);
$this
->addOptionalParam($params, "filter__mlikeor_tags-admin_tags", $filter->multiLikeOrTagsOrAdminTags);
$this
->addOptionalParam($params, "filter__mlikeor_tags-admin_tags-name", $filter->multiLikeOrTagsOrAdminTagsOrName);
$this
->addOptionalParam($params, "filter__order_by", $filter->orderBy);
$this
->addOptionalParam($params, "filter__limit", $filter->limit);
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "detailed_fields", $detailedFields);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$this
->addOptionalParam($params, "use_filter_puser_id", $useFilterPuserId);
$result = $this
->hit("listdvdentries", $kalturaSessionUser, $params);
return $result;
}
function listEntries($kalturaSessionUser, $filter, $detailed = null, $detailedFields = null, $pageSize = 10, $page = 1, $useFilterPuserId = null) {
$params = array();
$this
->addOptionalParam($params, "filter__eq_user_id", $filter->equalUserId);
$this
->addOptionalParam($params, "filter__eq_kshow_id", $filter->equalKshowId);
$this
->addOptionalParam($params, "filter__eq_status", $filter->equalStatus);
$this
->addOptionalParam($params, "filter__in_status", $filter->inStatus);
$this
->addOptionalParam($params, "filter__eq_type", $filter->equalType);
$this
->addOptionalParam($params, "filter__in_type", $filter->inType);
$this
->addOptionalParam($params, "filter__eq_media_type", $filter->equalMediaType);
$this
->addOptionalParam($params, "filter__in_media_type", $filter->inMediaType);
$this
->addOptionalParam($params, "filter__eq_indexed_custom_data_1", $filter->equalIndexedCustomData1);
$this
->addOptionalParam($params, "filter__in_indexed_custom_data_1", $filter->inIndexedCustomData1);
$this
->addOptionalParam($params, "filter__like_name", $filter->likeName);
$this
->addOptionalParam($params, "filter__eq_name", $filter->equalName);
$this
->addOptionalParam($params, "filter__eq_tags", $filter->equalTags);
$this
->addOptionalParam($params, "filter__like_tags", $filter->likeTags);
$this
->addOptionalParam($params, "filter__mlikeor_tags", $filter->multiLikeOrTags);
$this
->addOptionalParam($params, "filter__mlikeand_tags", $filter->multiLikeAndTags);
$this
->addOptionalParam($params, "filter__mlikeor_admin_tags", $filter->multiLikeOrAdminTags);
$this
->addOptionalParam($params, "filter__mlikeand_admin_tags", $filter->multiLikeAndAdminTags);
$this
->addOptionalParam($params, "filter__like_admin_tags", $filter->likeAdminTags);
$this
->addOptionalParam($params, "filter__mlikeor_name", $filter->multiLikeOrName);
$this
->addOptionalParam($params, "filter__mlikeand_name", $filter->multiLikeAndName);
$this
->addOptionalParam($params, "filter__mlikeor_search_text", $filter->multiLikeOrSearchText);
$this
->addOptionalParam($params, "filter__mlikeand_search_text", $filter->multiLikeAndSearchText);
$this
->addOptionalParam($params, "filter__eq_group_id", $filter->equalGroupId);
$this
->addOptionalParam($params, "filter__gte_views", $filter->greaterThanOrEqualViews);
$this
->addOptionalParam($params, "filter__gte_created_at", $filter->greaterThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__lte_created_at", $filter->lessThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__gte_updated_at", $filter->greaterThanOrEqualUpdatedAt);
$this
->addOptionalParam($params, "filter__lte_updated_at", $filter->lessThanOrEqualUpdatedAt);
$this
->addOptionalParam($params, "filter__gte_modified_at", $filter->greaterThanOrEqualModifiedAt);
$this
->addOptionalParam($params, "filter__lte_modified_at", $filter->lessThanOrEqualModifiedAt);
$this
->addOptionalParam($params, "filter__in_partner_id", $filter->inPartnerId);
$this
->addOptionalParam($params, "filter__eq_partner_id", $filter->equalPartnerId);
$this
->addOptionalParam($params, "filter__eq_source_link", $filter->equalSourceLink);
$this
->addOptionalParam($params, "filter__gte_media_date", $filter->greaterThanOrEqualMediaDate);
$this
->addOptionalParam($params, "filter__lte_media_date", $filter->lessThanOrEqualMediaDate);
$this
->addOptionalParam($params, "filter__eq_moderation_status", $filter->equalModerationStatus);
$this
->addOptionalParam($params, "filter__in_moderation_status", $filter->inModerationStatus);
$this
->addOptionalParam($params, "filter__in_display_in_search", $filter->inDisplayInSearch);
$this
->addOptionalParam($params, "filter__mlikeor_tags-name", $filter->multiLikeOrTagsOrName);
$this
->addOptionalParam($params, "filter__mlikeor_tags-admin_tags", $filter->multiLikeOrTagsOrAdminTags);
$this
->addOptionalParam($params, "filter__mlikeor_tags-admin_tags-name", $filter->multiLikeOrTagsOrAdminTagsOrName);
$this
->addOptionalParam($params, "filter__order_by", $filter->orderBy);
$this
->addOptionalParam($params, "filter__limit", $filter->limit);
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "detailed_fields", $detailedFields);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$this
->addOptionalParam($params, "use_filter_puser_id", $useFilterPuserId);
$result = $this
->hit("listentries", $kalturaSessionUser, $params);
return $result;
}
function listKShows($kalturaSessionUser, $filter, $detailed = null, $pageSize = 10, $page = 1, $useFilterPuserId = null) {
$params = array();
$this
->addOptionalParam($params, "filter__like_name", $filter->likeName);
$this
->addOptionalParam($params, "filter__like_tags", $filter->likeTags);
$this
->addOptionalParam($params, "filter__mlikeor_tags", $filter->multiLikeOrTags);
$this
->addOptionalParam($params, "filter__mlikeand_tags", $filter->multiLikeAndTags);
$this
->addOptionalParam($params, "filter__gte_views", $filter->greaterThanOrEqualViews);
$this
->addOptionalParam($params, "filter__eq_type", $filter->equalType);
$this
->addOptionalParam($params, "filter__eq_producer_id", $filter->equalProducerId);
$this
->addOptionalParam($params, "filter__gte_created_at", $filter->greaterThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__lte_created_at", $filter->lessThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__bitand_status", $filter->bitAndStatus);
$this
->addOptionalParam($params, "filter__eq_indexed_custom_data_3", $filter->equalIndexedCustomData3);
$this
->addOptionalParam($params, "filter__order_by", $filter->orderBy);
$this
->addOptionalParam($params, "filter__limit", $filter->limit);
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$this
->addOptionalParam($params, "use_filter_puser_id", $useFilterPuserId);
$result = $this
->hit("listkshows", $kalturaSessionUser, $params);
return $result;
}
function listModerations($kalturaSessionUser, $filter, $detailed = null, $pageSize = 10, $page = 1) {
$params = array();
$this
->addOptionalParam($params, "filter__eq_id", $filter->equalId);
$this
->addOptionalParam($params, "filter__eq_puser_id", $filter->equalPuserId);
$this
->addOptionalParam($params, "filter__eq_status", $filter->equalStatus);
$this
->addOptionalParam($params, "filter__in_status", $filter->inStatus);
$this
->addOptionalParam($params, "filter__like_comments", $filter->likeComments);
$this
->addOptionalParam($params, "filter__eq_object_id", $filter->equalObjectId);
$this
->addOptionalParam($params, "filter__eq_object_type", $filter->equalObjectType);
$this
->addOptionalParam($params, "filter__eq_group_id", $filter->equalGroupId);
$this
->addOptionalParam($params, "filter__order_by", $filter->orderBy);
$this
->addOptionalParam($params, "filter__limit", $filter->limit);
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$result = $this
->hit("listmoderations", $kalturaSessionUser, $params);
return $result;
}
function listMyDvdEntries($kalturaSessionUser, $filter, $detailed = null, $pageSize = 10, $page = 1, $useFilterPuserId = null) {
$params = array();
$this
->addOptionalParam($params, "filter__eq_user_id", $filter->equalUserId);
$this
->addOptionalParam($params, "filter__eq_kshow_id", $filter->equalKshowId);
$this
->addOptionalParam($params, "filter__eq_status", $filter->equalStatus);
$this
->addOptionalParam($params, "filter__in_status", $filter->inStatus);
$this
->addOptionalParam($params, "filter__eq_type", $filter->equalType);
$this
->addOptionalParam($params, "filter__in_type", $filter->inType);
$this
->addOptionalParam($params, "filter__eq_media_type", $filter->equalMediaType);
$this
->addOptionalParam($params, "filter__in_media_type", $filter->inMediaType);
$this
->addOptionalParam($params, "filter__eq_indexed_custom_data_1", $filter->equalIndexedCustomData1);
$this
->addOptionalParam($params, "filter__in_indexed_custom_data_1", $filter->inIndexedCustomData1);
$this
->addOptionalParam($params, "filter__like_name", $filter->likeName);
$this
->addOptionalParam($params, "filter__eq_name", $filter->equalName);
$this
->addOptionalParam($params, "filter__eq_tags", $filter->equalTags);
$this
->addOptionalParam($params, "filter__like_tags", $filter->likeTags);
$this
->addOptionalParam($params, "filter__mlikeor_tags", $filter->multiLikeOrTags);
$this
->addOptionalParam($params, "filter__mlikeand_tags", $filter->multiLikeAndTags);
$this
->addOptionalParam($params, "filter__mlikeor_admin_tags", $filter->multiLikeOrAdminTags);
$this
->addOptionalParam($params, "filter__mlikeand_admin_tags", $filter->multiLikeAndAdminTags);
$this
->addOptionalParam($params, "filter__like_admin_tags", $filter->likeAdminTags);
$this
->addOptionalParam($params, "filter__mlikeor_name", $filter->multiLikeOrName);
$this
->addOptionalParam($params, "filter__mlikeand_name", $filter->multiLikeAndName);
$this
->addOptionalParam($params, "filter__mlikeor_search_text", $filter->multiLikeOrSearchText);
$this
->addOptionalParam($params, "filter__mlikeand_search_text", $filter->multiLikeAndSearchText);
$this
->addOptionalParam($params, "filter__eq_group_id", $filter->equalGroupId);
$this
->addOptionalParam($params, "filter__gte_views", $filter->greaterThanOrEqualViews);
$this
->addOptionalParam($params, "filter__gte_created_at", $filter->greaterThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__lte_created_at", $filter->lessThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__gte_updated_at", $filter->greaterThanOrEqualUpdatedAt);
$this
->addOptionalParam($params, "filter__lte_updated_at", $filter->lessThanOrEqualUpdatedAt);
$this
->addOptionalParam($params, "filter__gte_modified_at", $filter->greaterThanOrEqualModifiedAt);
$this
->addOptionalParam($params, "filter__lte_modified_at", $filter->lessThanOrEqualModifiedAt);
$this
->addOptionalParam($params, "filter__in_partner_id", $filter->inPartnerId);
$this
->addOptionalParam($params, "filter__eq_partner_id", $filter->equalPartnerId);
$this
->addOptionalParam($params, "filter__eq_source_link", $filter->equalSourceLink);
$this
->addOptionalParam($params, "filter__gte_media_date", $filter->greaterThanOrEqualMediaDate);
$this
->addOptionalParam($params, "filter__lte_media_date", $filter->lessThanOrEqualMediaDate);
$this
->addOptionalParam($params, "filter__eq_moderation_status", $filter->equalModerationStatus);
$this
->addOptionalParam($params, "filter__in_moderation_status", $filter->inModerationStatus);
$this
->addOptionalParam($params, "filter__in_display_in_search", $filter->inDisplayInSearch);
$this
->addOptionalParam($params, "filter__mlikeor_tags-name", $filter->multiLikeOrTagsOrName);
$this
->addOptionalParam($params, "filter__mlikeor_tags-admin_tags", $filter->multiLikeOrTagsOrAdminTags);
$this
->addOptionalParam($params, "filter__mlikeor_tags-admin_tags-name", $filter->multiLikeOrTagsOrAdminTagsOrName);
$this
->addOptionalParam($params, "filter__order_by", $filter->orderBy);
$this
->addOptionalParam($params, "filter__limit", $filter->limit);
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$this
->addOptionalParam($params, "use_filter_puser_id", $useFilterPuserId);
$result = $this
->hit("listmydvdentries", $kalturaSessionUser, $params);
return $result;
}
function listMyEntries($kalturaSessionUser, $filter, $detailed = null, $pageSize = 10, $page = 1, $useFilterPuserId = null) {
$params = array();
$this
->addOptionalParam($params, "filter__eq_user_id", $filter->equalUserId);
$this
->addOptionalParam($params, "filter__eq_kshow_id", $filter->equalKshowId);
$this
->addOptionalParam($params, "filter__eq_status", $filter->equalStatus);
$this
->addOptionalParam($params, "filter__in_status", $filter->inStatus);
$this
->addOptionalParam($params, "filter__eq_type", $filter->equalType);
$this
->addOptionalParam($params, "filter__in_type", $filter->inType);
$this
->addOptionalParam($params, "filter__eq_media_type", $filter->equalMediaType);
$this
->addOptionalParam($params, "filter__in_media_type", $filter->inMediaType);
$this
->addOptionalParam($params, "filter__eq_indexed_custom_data_1", $filter->equalIndexedCustomData1);
$this
->addOptionalParam($params, "filter__in_indexed_custom_data_1", $filter->inIndexedCustomData1);
$this
->addOptionalParam($params, "filter__like_name", $filter->likeName);
$this
->addOptionalParam($params, "filter__eq_name", $filter->equalName);
$this
->addOptionalParam($params, "filter__eq_tags", $filter->equalTags);
$this
->addOptionalParam($params, "filter__like_tags", $filter->likeTags);
$this
->addOptionalParam($params, "filter__mlikeor_tags", $filter->multiLikeOrTags);
$this
->addOptionalParam($params, "filter__mlikeand_tags", $filter->multiLikeAndTags);
$this
->addOptionalParam($params, "filter__mlikeor_admin_tags", $filter->multiLikeOrAdminTags);
$this
->addOptionalParam($params, "filter__mlikeand_admin_tags", $filter->multiLikeAndAdminTags);
$this
->addOptionalParam($params, "filter__like_admin_tags", $filter->likeAdminTags);
$this
->addOptionalParam($params, "filter__mlikeor_name", $filter->multiLikeOrName);
$this
->addOptionalParam($params, "filter__mlikeand_name", $filter->multiLikeAndName);
$this
->addOptionalParam($params, "filter__mlikeor_search_text", $filter->multiLikeOrSearchText);
$this
->addOptionalParam($params, "filter__mlikeand_search_text", $filter->multiLikeAndSearchText);
$this
->addOptionalParam($params, "filter__eq_group_id", $filter->equalGroupId);
$this
->addOptionalParam($params, "filter__gte_views", $filter->greaterThanOrEqualViews);
$this
->addOptionalParam($params, "filter__gte_created_at", $filter->greaterThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__lte_created_at", $filter->lessThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__gte_updated_at", $filter->greaterThanOrEqualUpdatedAt);
$this
->addOptionalParam($params, "filter__lte_updated_at", $filter->lessThanOrEqualUpdatedAt);
$this
->addOptionalParam($params, "filter__gte_modified_at", $filter->greaterThanOrEqualModifiedAt);
$this
->addOptionalParam($params, "filter__lte_modified_at", $filter->lessThanOrEqualModifiedAt);
$this
->addOptionalParam($params, "filter__in_partner_id", $filter->inPartnerId);
$this
->addOptionalParam($params, "filter__eq_partner_id", $filter->equalPartnerId);
$this
->addOptionalParam($params, "filter__eq_source_link", $filter->equalSourceLink);
$this
->addOptionalParam($params, "filter__gte_media_date", $filter->greaterThanOrEqualMediaDate);
$this
->addOptionalParam($params, "filter__lte_media_date", $filter->lessThanOrEqualMediaDate);
$this
->addOptionalParam($params, "filter__eq_moderation_status", $filter->equalModerationStatus);
$this
->addOptionalParam($params, "filter__in_moderation_status", $filter->inModerationStatus);
$this
->addOptionalParam($params, "filter__in_display_in_search", $filter->inDisplayInSearch);
$this
->addOptionalParam($params, "filter__mlikeor_tags-name", $filter->multiLikeOrTagsOrName);
$this
->addOptionalParam($params, "filter__mlikeor_tags-admin_tags", $filter->multiLikeOrTagsOrAdminTags);
$this
->addOptionalParam($params, "filter__mlikeor_tags-admin_tags-name", $filter->multiLikeOrTagsOrAdminTagsOrName);
$this
->addOptionalParam($params, "filter__order_by", $filter->orderBy);
$this
->addOptionalParam($params, "filter__limit", $filter->limit);
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$this
->addOptionalParam($params, "use_filter_puser_id", $useFilterPuserId);
$result = $this
->hit("listmyentries", $kalturaSessionUser, $params);
return $result;
}
function listMyKShows($kalturaSessionUser, $filter, $detailed = null, $pageSize = 10, $page = 1, $useFilterPuserId = null) {
$params = array();
$this
->addOptionalParam($params, "filter__like_name", $filter->likeName);
$this
->addOptionalParam($params, "filter__like_tags", $filter->likeTags);
$this
->addOptionalParam($params, "filter__mlikeor_tags", $filter->multiLikeOrTags);
$this
->addOptionalParam($params, "filter__mlikeand_tags", $filter->multiLikeAndTags);
$this
->addOptionalParam($params, "filter__gte_views", $filter->greaterThanOrEqualViews);
$this
->addOptionalParam($params, "filter__eq_type", $filter->equalType);
$this
->addOptionalParam($params, "filter__eq_producer_id", $filter->equalProducerId);
$this
->addOptionalParam($params, "filter__gte_created_at", $filter->greaterThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__lte_created_at", $filter->lessThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__bitand_status", $filter->bitAndStatus);
$this
->addOptionalParam($params, "filter__eq_indexed_custom_data_3", $filter->equalIndexedCustomData3);
$this
->addOptionalParam($params, "filter__order_by", $filter->orderBy);
$this
->addOptionalParam($params, "filter__limit", $filter->limit);
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$this
->addOptionalParam($params, "use_filter_puser_id", $useFilterPuserId);
$result = $this
->hit("listmykshows", $kalturaSessionUser, $params);
return $result;
}
function listNotifications($kalturaSessionUser, $filter, $pageSize = 10, $page = 1) {
$params = array();
$this
->addOptionalParam($params, "filter__eq_id", $filter->equalId);
$this
->addOptionalParam($params, "filter__gte_id", $filter->greaterThanOrEqualId);
$this
->addOptionalParam($params, "filter__eq_status", $filter->equalStatus);
$this
->addOptionalParam($params, "filter__eq_type", $filter->equalType);
$this
->addOptionalParam($params, "filter__order_by", $filter->orderBy);
$this
->addOptionalParam($params, "filter__limit", $filter->limit);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$result = $this
->hit("listnotifications", $kalturaSessionUser, $params);
return $result;
}
function listPartnerEntries($kalturaSessionUser, $filter, $detailed = null, $pageSize = 10, $page = 1, $useFilterPuserId = null) {
$params = array();
$this
->addOptionalParam($params, "filter__eq_user_id", $filter->equalUserId);
$this
->addOptionalParam($params, "filter__eq_kshow_id", $filter->equalKshowId);
$this
->addOptionalParam($params, "filter__eq_status", $filter->equalStatus);
$this
->addOptionalParam($params, "filter__in_status", $filter->inStatus);
$this
->addOptionalParam($params, "filter__eq_type", $filter->equalType);
$this
->addOptionalParam($params, "filter__in_type", $filter->inType);
$this
->addOptionalParam($params, "filter__eq_media_type", $filter->equalMediaType);
$this
->addOptionalParam($params, "filter__in_media_type", $filter->inMediaType);
$this
->addOptionalParam($params, "filter__eq_indexed_custom_data_1", $filter->equalIndexedCustomData1);
$this
->addOptionalParam($params, "filter__in_indexed_custom_data_1", $filter->inIndexedCustomData1);
$this
->addOptionalParam($params, "filter__like_name", $filter->likeName);
$this
->addOptionalParam($params, "filter__eq_name", $filter->equalName);
$this
->addOptionalParam($params, "filter__eq_tags", $filter->equalTags);
$this
->addOptionalParam($params, "filter__like_tags", $filter->likeTags);
$this
->addOptionalParam($params, "filter__mlikeor_tags", $filter->multiLikeOrTags);
$this
->addOptionalParam($params, "filter__mlikeand_tags", $filter->multiLikeAndTags);
$this
->addOptionalParam($params, "filter__mlikeor_admin_tags", $filter->multiLikeOrAdminTags);
$this
->addOptionalParam($params, "filter__mlikeand_admin_tags", $filter->multiLikeAndAdminTags);
$this
->addOptionalParam($params, "filter__like_admin_tags", $filter->likeAdminTags);
$this
->addOptionalParam($params, "filter__mlikeor_name", $filter->multiLikeOrName);
$this
->addOptionalParam($params, "filter__mlikeand_name", $filter->multiLikeAndName);
$this
->addOptionalParam($params, "filter__mlikeor_search_text", $filter->multiLikeOrSearchText);
$this
->addOptionalParam($params, "filter__mlikeand_search_text", $filter->multiLikeAndSearchText);
$this
->addOptionalParam($params, "filter__eq_group_id", $filter->equalGroupId);
$this
->addOptionalParam($params, "filter__gte_views", $filter->greaterThanOrEqualViews);
$this
->addOptionalParam($params, "filter__gte_created_at", $filter->greaterThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__lte_created_at", $filter->lessThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__gte_updated_at", $filter->greaterThanOrEqualUpdatedAt);
$this
->addOptionalParam($params, "filter__lte_updated_at", $filter->lessThanOrEqualUpdatedAt);
$this
->addOptionalParam($params, "filter__gte_modified_at", $filter->greaterThanOrEqualModifiedAt);
$this
->addOptionalParam($params, "filter__lte_modified_at", $filter->lessThanOrEqualModifiedAt);
$this
->addOptionalParam($params, "filter__in_partner_id", $filter->inPartnerId);
$this
->addOptionalParam($params, "filter__eq_partner_id", $filter->equalPartnerId);
$this
->addOptionalParam($params, "filter__eq_source_link", $filter->equalSourceLink);
$this
->addOptionalParam($params, "filter__gte_media_date", $filter->greaterThanOrEqualMediaDate);
$this
->addOptionalParam($params, "filter__lte_media_date", $filter->lessThanOrEqualMediaDate);
$this
->addOptionalParam($params, "filter__eq_moderation_status", $filter->equalModerationStatus);
$this
->addOptionalParam($params, "filter__in_moderation_status", $filter->inModerationStatus);
$this
->addOptionalParam($params, "filter__in_display_in_search", $filter->inDisplayInSearch);
$this
->addOptionalParam($params, "filter__mlikeor_tags-name", $filter->multiLikeOrTagsOrName);
$this
->addOptionalParam($params, "filter__mlikeor_tags-admin_tags", $filter->multiLikeOrTagsOrAdminTags);
$this
->addOptionalParam($params, "filter__mlikeor_tags-admin_tags-name", $filter->multiLikeOrTagsOrAdminTagsOrName);
$this
->addOptionalParam($params, "filter__order_by", $filter->orderBy);
$this
->addOptionalParam($params, "filter__limit", $filter->limit);
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$this
->addOptionalParam($params, "use_filter_puser_id", $useFilterPuserId);
$result = $this
->hit("listpartnerentries", $kalturaSessionUser, $params);
return $result;
}
function listPlaylists($kalturaSessionUser, $filter, $detailed = null, $detailedFields = null, $pageSize = 10, $page = 1, $useFilterPuserId = null) {
$params = array();
$this
->addOptionalParam($params, "filter__eq_user_id", $filter->equalUserId);
$this
->addOptionalParam($params, "filter__eq_kshow_id", $filter->equalKshowId);
$this
->addOptionalParam($params, "filter__eq_status", $filter->equalStatus);
$this
->addOptionalParam($params, "filter__in_status", $filter->inStatus);
$this
->addOptionalParam($params, "filter__eq_type", $filter->equalType);
$this
->addOptionalParam($params, "filter__in_type", $filter->inType);
$this
->addOptionalParam($params, "filter__eq_media_type", $filter->equalMediaType);
$this
->addOptionalParam($params, "filter__in_media_type", $filter->inMediaType);
$this
->addOptionalParam($params, "filter__eq_indexed_custom_data_1", $filter->equalIndexedCustomData1);
$this
->addOptionalParam($params, "filter__in_indexed_custom_data_1", $filter->inIndexedCustomData1);
$this
->addOptionalParam($params, "filter__like_name", $filter->likeName);
$this
->addOptionalParam($params, "filter__eq_name", $filter->equalName);
$this
->addOptionalParam($params, "filter__eq_tags", $filter->equalTags);
$this
->addOptionalParam($params, "filter__like_tags", $filter->likeTags);
$this
->addOptionalParam($params, "filter__mlikeor_tags", $filter->multiLikeOrTags);
$this
->addOptionalParam($params, "filter__mlikeand_tags", $filter->multiLikeAndTags);
$this
->addOptionalParam($params, "filter__mlikeor_admin_tags", $filter->multiLikeOrAdminTags);
$this
->addOptionalParam($params, "filter__mlikeand_admin_tags", $filter->multiLikeAndAdminTags);
$this
->addOptionalParam($params, "filter__like_admin_tags", $filter->likeAdminTags);
$this
->addOptionalParam($params, "filter__mlikeor_name", $filter->multiLikeOrName);
$this
->addOptionalParam($params, "filter__mlikeand_name", $filter->multiLikeAndName);
$this
->addOptionalParam($params, "filter__mlikeor_search_text", $filter->multiLikeOrSearchText);
$this
->addOptionalParam($params, "filter__mlikeand_search_text", $filter->multiLikeAndSearchText);
$this
->addOptionalParam($params, "filter__eq_group_id", $filter->equalGroupId);
$this
->addOptionalParam($params, "filter__gte_views", $filter->greaterThanOrEqualViews);
$this
->addOptionalParam($params, "filter__gte_created_at", $filter->greaterThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__lte_created_at", $filter->lessThanOrEqualCreatedAt);
$this
->addOptionalParam($params, "filter__gte_updated_at", $filter->greaterThanOrEqualUpdatedAt);
$this
->addOptionalParam($params, "filter__lte_updated_at", $filter->lessThanOrEqualUpdatedAt);
$this
->addOptionalParam($params, "filter__gte_modified_at", $filter->greaterThanOrEqualModifiedAt);
$this
->addOptionalParam($params, "filter__lte_modified_at", $filter->lessThanOrEqualModifiedAt);
$this
->addOptionalParam($params, "filter__in_partner_id", $filter->inPartnerId);
$this
->addOptionalParam($params, "filter__eq_partner_id", $filter->equalPartnerId);
$this
->addOptionalParam($params, "filter__eq_source_link", $filter->equalSourceLink);
$this
->addOptionalParam($params, "filter__gte_media_date", $filter->greaterThanOrEqualMediaDate);
$this
->addOptionalParam($params, "filter__lte_media_date", $filter->lessThanOrEqualMediaDate);
$this
->addOptionalParam($params, "filter__eq_moderation_status", $filter->equalModerationStatus);
$this
->addOptionalParam($params, "filter__in_moderation_status", $filter->inModerationStatus);
$this
->addOptionalParam($params, "filter__in_display_in_search", $filter->inDisplayInSearch);
$this
->addOptionalParam($params, "filter__mlikeor_tags-name", $filter->multiLikeOrTagsOrName);
$this
->addOptionalParam($params, "filter__mlikeor_tags-admin_tags", $filter->multiLikeOrTagsOrAdminTags);
$this
->addOptionalParam($params, "filter__mlikeor_tags-admin_tags-name", $filter->multiLikeOrTagsOrAdminTagsOrName);
$this
->addOptionalParam($params, "filter__order_by", $filter->orderBy);
$this
->addOptionalParam($params, "filter__limit", $filter->limit);
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "detailed_fields", $detailedFields);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$this
->addOptionalParam($params, "use_filter_puser_id", $useFilterPuserId);
$result = $this
->hit("listplaylists", $kalturaSessionUser, $params);
return $result;
}
function listUiconf($kalturaSessionUser, $filter, $detailed = null, $detailedFields = null, $pageSize = 10, $page = 1) {
$params = array();
$this
->addOptionalParam($params, "filter__eq_id", $filter->equalId);
$this
->addOptionalParam($params, "filter__gte_id", $filter->greaterThanOrEqualId);
$this
->addOptionalParam($params, "filter__eq_status", $filter->equalStatus);
$this
->addOptionalParam($params, "filter__eq_obj_type", $filter->equalObjType);
$this
->addOptionalParam($params, "filter__like_name", $filter->likeName);
$this
->addOptionalParam($params, "filter__mlikeor_tags", $filter->multiLikeOrTags);
$this
->addOptionalParam($params, "filter__order_by", $filter->orderBy);
$this
->addOptionalParam($params, "filter__limit", $filter->limit);
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "detailed_fields", $detailedFields);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$result = $this
->hit("listuiconfs", $kalturaSessionUser, $params);
return $result;
}
function ping($kalturaSessionUser) {
$params = array();
$result = $this
->hit("ping", $kalturaSessionUser, $params);
return $result;
}
function queuePendingBatchJob($kalturaSessionUser, $jobType, $processorName, $processorTimeout, $overQuotaPartners = null, $deferedPartners = null) {
$params = array();
$params["job_type"] = $jobType;
$params["processor_name"] = $processorName;
$params["processor_timeout"] = $processorTimeout;
$this
->addOptionalParam($params, "over_quota_partners", $overQuotaPartners);
$this
->addOptionalParam($params, "defered_partners", $deferedPartners);
$result = $this
->hit("queuependingbatchjob", $kalturaSessionUser, $params);
return $result;
}
function rankKShow($kalturaSessionUser, $kshowId, $rank) {
$params = array();
$params["kshow_id"] = $kshowId;
$params["rank"] = $rank;
$result = $this
->hit("rankkshow", $kalturaSessionUser, $params);
return $result;
}
function registerPartner($kalturaSessionUser, $partner, $cmsPassword = null) {
$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);
$this
->addOptionalParam($params, "cms_password", $cmsPassword);
$result = $this
->hit("registerpartner", $kalturaSessionUser, $params);
return $result;
}
function reportEntry($kalturaSessionUser, $moderation) {
$params = array();
$this
->addOptionalParam($params, "moderation_comments", $moderation->comments);
$this
->addOptionalParam($params, "moderation_objectType", $moderation->objectType);
$this
->addOptionalParam($params, "moderation_objectId", $moderation->objectId);
$this
->addOptionalParam($params, "moderation_reportCode", $moderation->reportCode);
$this
->addOptionalParam($params, "moderation_status", $moderation->status);
$result = $this
->hit("reportentry", $kalturaSessionUser, $params);
return $result;
}
function reportError($kalturaSessionUser, $reportingObj = null, $errorCode = null, $errorDescription = null) {
$params = array();
$this
->addOptionalParam($params, "reporting_obj", $reportingObj);
$this
->addOptionalParam($params, "error_code", $errorCode);
$this
->addOptionalParam($params, "error_description", $errorDescription);
$result = $this
->hit("reporterror", $kalturaSessionUser, $params);
return $result;
}
function reportKShow($kalturaSessionUser, $moderation) {
$params = array();
$this
->addOptionalParam($params, "moderation_comments", $moderation->comments);
$this
->addOptionalParam($params, "moderation_objectType", $moderation->objectType);
$this
->addOptionalParam($params, "moderation_objectId", $moderation->objectId);
$this
->addOptionalParam($params, "moderation_reportCode", $moderation->reportCode);
$this
->addOptionalParam($params, "moderation_status", $moderation->status);
$result = $this
->hit("reportkshow", $kalturaSessionUser, $params);
return $result;
}
function reportUser($kalturaSessionUser, $moderation) {
$params = array();
$this
->addOptionalParam($params, "moderation_comments", $moderation->comments);
$this
->addOptionalParam($params, "moderation_objectType", $moderation->objectType);
$this
->addOptionalParam($params, "moderation_objectId", $moderation->objectId);
$this
->addOptionalParam($params, "moderation_reportCode", $moderation->reportCode);
$this
->addOptionalParam($params, "moderation_status", $moderation->status);
$result = $this
->hit("reportuser", $kalturaSessionUser, $params);
return $result;
}
function rollbackKShow($kalturaSessionUser, $kshowId, $kshowVersion) {
$params = array();
$params["kshow_id"] = $kshowId;
$params["kshow_version"] = $kshowVersion;
$result = $this
->hit("rollbackkshow", $kalturaSessionUser, $params);
return $result;
}
function search($kalturaSessionUser, $mediaType, $mediaSource, $search, $authData = null, $page = 1, $pageSize = 10) {
$params = array();
$params["media_type"] = $mediaType;
$params["media_source"] = $mediaSource;
$params["search"] = $search;
$this
->addOptionalParam($params, "auth_data", $authData);
$this
->addOptionalParam($params, "page", $page);
$this
->addOptionalParam($params, "page_size", $pageSize);
$result = $this
->hit("search", $kalturaSessionUser, $params);
return $result;
}
function searchAuthData($kalturaSessionUser, $mediaSource, $username, $password) {
$params = array();
$params["media_source"] = $mediaSource;
$params["username"] = $username;
$params["password"] = $password;
$result = $this
->hit("searchauthdata", $kalturaSessionUser, $params);
return $result;
}
function searchFromUrl($kalturaSessionUser, $url, $mediaType) {
$params = array();
$params["url"] = $url;
$params["media_type"] = $mediaType;
$result = $this
->hit("searchfromurl", $kalturaSessionUser, $params);
return $result;
}
function searchMediaInfo($kalturaSessionUser, $mediaType, $mediaSource, $mediaId) {
$params = array();
$params["media_type"] = $mediaType;
$params["media_source"] = $mediaSource;
$params["media_id"] = $mediaId;
$result = $this
->hit("searchmediainfo", $kalturaSessionUser, $params);
return $result;
}
function searchmediaproviders($kalturaSessionUser) {
$params = array();
$result = $this
->hit("searchmediaproviders", $kalturaSessionUser, $params);
return $result;
}
function setMetaData($kalturaSessionUser, $entryId, $kshowId, $hasRoughCut, $xml) {
$params = array();
$params["entry_id"] = $entryId;
$params["kshow_id"] = $kshowId;
$params["HasRoughCut"] = $hasRoughCut;
$params["xml"] = $xml;
$result = $this
->hit("setmetadata", $kalturaSessionUser, $params);
return $result;
}
function startSession($kalturaSessionUser, $secret, $admin = null, $privileges = null, $expiry = 86400) {
$params = array();
$params["secret"] = $secret;
$this
->addOptionalParam($params, "admin", $admin);
$this
->addOptionalParam($params, "privileges", $privileges);
$this
->addOptionalParam($params, "expiry", $expiry);
$result = $this
->hit("startsession", $kalturaSessionUser, $params);
return $result;
}
function startWidgetSession($kalturaSessionUser, $widgetId, $expiry = 86400) {
$params = array();
$params["widget_id"] = $widgetId;
$this
->addOptionalParam($params, "expiry", $expiry);
$result = $this
->hit("startwidgetsession", $kalturaSessionUser, $params);
return $result;
}
function testNotification($kalturaSessionUser) {
$params = array();
$result = $this
->hit("testnotification", $kalturaSessionUser, $params);
return $result;
}
function updateBatchJob($kalturaSessionUser, $batchjobId, $batchjob) {
$params = array();
$params["batchjob_id"] = $batchjobId;
$this
->addOptionalParam($params, "batchjob_data", $batchjob->data);
$this
->addOptionalParam($params, "batchjob_status", $batchjob->status);
$this
->addOptionalParam($params, "batchjob_abort", $batchjob->abort);
$this
->addOptionalParam($params, "batchjob_checkAgainTimeout", $batchjob->checkAgainTimeout);
$this
->addOptionalParam($params, "batchjob_progress", $batchjob->progress);
$this
->addOptionalParam($params, "batchjob_message", $batchjob->message);
$this
->addOptionalParam($params, "batchjob_description", $batchjob->description);
$this
->addOptionalParam($params, "batchjob_updatesCount", $batchjob->updatesCount);
$this
->addOptionalParam($params, "batchjob_processorExpiration", $batchjob->processorExpiration);
$result = $this
->hit("updatebatchjob", $kalturaSessionUser, $params);
return $result;
}
function updateDvdEntry($kalturaSessionUser, $entryId, $entry) {
$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);
$result = $this
->hit("updatedvdentry", $kalturaSessionUser, $params);
return $result;
}
function updateEntriesThumbnails($kalturaSessionUser, $entryIds, $timeOffset) {
$params = array();
$params["entry_ids"] = $entryIds;
$params["time_offset"] = $timeOffset;
$result = $this
->hit("updateentriesthumbnails", $kalturaSessionUser, $params);
return $result;
}
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;
}
function updateEntryTModeration($kalturaSessionUser, $entryId, $moderationStatus) {
$params = array();
$params["entry_id"] = $entryId;
$params["moderation_status"] = $moderationStatus;
$result = $this
->hit("updateentrymoderation", $kalturaSessionUser, $params);
return $result;
}
function updateEntryThumbnail($kalturaSessionUser, $entryId, $sourceEntryId = null, $timeOffset = null) {
$params = array();
$params["entry_id"] = $entryId;
$this
->addOptionalParam($params, "source_entry_id", $sourceEntryId);
$this
->addOptionalParam($params, "time_offset", $timeOffset);
$result = $this
->hit("updateentrythumbnail", $kalturaSessionUser, $params);
return $result;
}
function updateEntryThumbnailJpeg($kalturaSessionUser, $entryId) {
$params = array();
$params["entry_id"] = $entryId;
$result = $this
->hit("updateentrythumbnailjpeg", $kalturaSessionUser, $params);
return $result;
}
function updateKShow($kalturaSessionUser, $kshowId, $kshow, $detailed = null, $allowDuplicateNames = null) {
$params = array();
$params["kshow_id"] = $kshowId;
$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("updatekshow", $kalturaSessionUser, $params);
return $result;
}
function updateKshowOwner($kalturaSessionUser, $kshowId, $detailed = null) {
$params = array();
$params["kshow_id"] = $kshowId;
$this
->addOptionalParam($params, "detailed", $detailed);
$result = $this
->hit("updatekshowowner", $kalturaSessionUser, $params);
return $result;
}
function updateNotification($kalturaSessionUser, $notification) {
$params = array();
$this
->addOptionalParam($params, "notification_id", $notification->id);
$this
->addOptionalParam($params, "notification_status", $notification->status);
$this
->addOptionalParam($params, "notification_notificationResult", $notification->notificationResult);
$result = $this
->hit("updatenotification", $kalturaSessionUser, $params);
return $result;
}
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;
}
function updatePlaylist($kalturaSessionUser, $entryId, $entry) {
$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);
$result = $this
->hit("updateplaylist", $kalturaSessionUser, $params);
return $result;
}
function updateUiconf($kalturaSessionUser, $uiconfId, $uiconf) {
$params = array();
$params["uiconf_id"] = $uiconfId;
$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("updateuiconf", $kalturaSessionUser, $params);
return $result;
}
function updateUser($kalturaSessionUser, $userId, $user) {
$params = array();
$params["user_id"] = $userId;
$this
->addOptionalParam($params, "user_screenName", $user->screenName);
$this
->addOptionalParam($params, "user_fullName", $user->fullName);
$this
->addOptionalParam($params, "user_email", $user->email);
$this
->addOptionalParam($params, "user_dateOfBirth", $user->dateOfBirth);
$this
->addOptionalParam($params, "user_aboutMe", $user->aboutMe);
$this
->addOptionalParam($params, "user_tags", $user->tags);
$this
->addOptionalParam($params, "user_gender", $user->gender);
$this
->addOptionalParam($params, "user_country", $user->country);
$this
->addOptionalParam($params, "user_state", $user->state);
$this
->addOptionalParam($params, "user_city", $user->city);
$this
->addOptionalParam($params, "user_zip", $user->zip);
$this
->addOptionalParam($params, "user_urlList", $user->urlList);
$this
->addOptionalParam($params, "user_networkHighschool", $user->networkHighschool);
$this
->addOptionalParam($params, "user_networkCollege", $user->networkCollege);
$this
->addOptionalParam($params, "user_partnerData", $user->partnerData);
$result = $this
->hit("updateuser", $kalturaSessionUser, $params);
return $result;
}
function updateUserId($kalturaSessionUser, $userId, $newUserId) {
$params = array();
$params["user_id"] = $userId;
$params["new_user_id"] = $newUserId;
$result = $this
->hit("updateuserid", $kalturaSessionUser, $params);
return $result;
}
function upload($kalturaSessionUser, $filename) {
$params = array();
$params["filename"] = $filename;
$result = $this
->hit("upload", $kalturaSessionUser, $params);
return $result;
}
function uploadJpeg($kalturaSessionUser, $filename, $hash) {
$params = array();
$params["filename"] = $filename;
$params["hash"] = $hash;
$result = $this
->hit("uploadjpeg", $kalturaSessionUser, $params);
return $result;
}
function viewWidget($kalturaSessionUser, $entryId = null, $kshowId = null, $widgetId = null, $host = null) {
$params = array();
$this
->addOptionalParam($params, "entry_id", $entryId);
$this
->addOptionalParam($params, "kshow_id", $kshowId);
$this
->addOptionalParam($params, "widget_id", $widgetId);
$this
->addOptionalParam($params, "host", $host);
$result = $this
->hit("viewwidget", $kalturaSessionUser, $params);
return $result;
}
}