You are here

function KalturaClient::listNotifications in Kaltura 6

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

File

kaltura_client/kaltura_client.php, line 1374

Class

KalturaClient

Code

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