You are here

function KalturaClient::listKShows in Kaltura 5

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

File

kaltura_client/kaltura_client.php, line 1191

Class

KalturaClient

Code

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