You are here

function KalturaReportService::getTable in Kaltura 6.2

File

kaltura_client/KalturaClient.php, line 5078

Class

KalturaReportService

Code

function getTable($reportType, KalturaReportInputFilter $reportInputFilter, KalturaFilterPager $pager, $order = null, $objectIds = null) {
  $kparams = array();
  $this->client
    ->addParam($kparams, "reportType", $reportType);
  $this->client
    ->addParam($kparams, "reportInputFilter", $reportInputFilter
    ->toParams());
  $this->client
    ->addParam($kparams, "pager", $pager
    ->toParams());
  $this->client
    ->addParam($kparams, "order", $order);
  $this->client
    ->addParam($kparams, "objectIds", $objectIds);
  $this->client
    ->queueServiceActionCall("report", "getTable", $kparams);
  if ($this->client
    ->isMultiRequest()) {
    return null;
  }
  $resultObject = $this->client
    ->doQueue();
  $this->client
    ->throwExceptionIfError($resultObject);
  $this->client
    ->validateObjectType($resultObject, "KalturaReportTable");
  return $resultObject;
}