You are here

function KalturaSearchService::getMediaInfo in Kaltura 6.2

File

kaltura_client/KalturaClient.php, line 4508

Class

KalturaSearchService

Code

function getMediaInfo(KalturaSearchResult $searchResult) {
  $kparams = array();
  $this->client
    ->addParam($kparams, "searchResult", $searchResult
    ->toParams());
  $this->client
    ->queueServiceActionCall("search", "getMediaInfo", $kparams);
  if ($this->client
    ->isMultiRequest()) {
    return null;
  }
  $resultObject = $this->client
    ->doQueue();
  $this->client
    ->throwExceptionIfError($resultObject);
  $this->client
    ->validateObjectType($resultObject, "KalturaSearchResult");
  return $resultObject;
}