You are here

function KalturaBaseEntryService::listFlags in Kaltura 6.2

File

kaltura_client/KalturaClient.php, line 4063

Class

KalturaBaseEntryService

Code

function listFlags($entryId, KalturaFilterPager $pager = null) {
  $kparams = array();
  $this->client
    ->addParam($kparams, "entryId", $entryId);
  if ($pager !== null) {
    $this->client
      ->addParam($kparams, "pager", $pager
      ->toParams());
  }
  $this->client
    ->queueServiceActionCall("baseentry", "listFlags", $kparams);
  if ($this->client
    ->isMultiRequest()) {
    return null;
  }
  $resultObject = $this->client
    ->doQueue();
  $this->client
    ->throwExceptionIfError($resultObject);
  $this->client
    ->validateObjectType($resultObject, "KalturaModerationFlagListResponse");
  return $resultObject;
}