function KalturaReportService::getGraphs in Kaltura 6.2
File
- kaltura_client/
KalturaClient.php, line 5047
Class
Code
function getGraphs($reportType, KalturaReportInputFilter $reportInputFilter, $dimension = null, $objectIds = null) {
$kparams = array();
$this->client
->addParam($kparams, "reportType", $reportType);
$this->client
->addParam($kparams, "reportInputFilter", $reportInputFilter
->toParams());
$this->client
->addParam($kparams, "dimension", $dimension);
$this->client
->addParam($kparams, "objectIds", $objectIds);
$this->client
->queueServiceActionCall("report", "getGraphs", $kparams);
if ($this->client
->isMultiRequest()) {
return null;
}
$resultObject = $this->client
->doQueue();
$this->client
->throwExceptionIfError($resultObject);
$this->client
->validateObjectType($resultObject, "array");
return $resultObject;
}