You are here

function KalturaClient::listMyEntries in Kaltura 5

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

File

kaltura_client/kaltura_client.php, line 1293

Class

KalturaClient

Code

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;
}