You are here

function KalturaClient::listDownloads in Kaltura 5

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

File

kaltura_client/kaltura_client.php, line 1059

Class

KalturaClient

Code

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