function KalturaDocumentService::listAction in Kaltura 6.2
File
- kaltura_client/
KalturaClient.php, line 3795
Class
Code
function listAction(KalturaDocumentEntryFilter $filter = null, KalturaFilterPager $pager = null) {
$kparams = array();
if ($filter !== null) {
$this->client
->addParam($kparams, "filter", $filter
->toParams());
}
if ($pager !== null) {
$this->client
->addParam($kparams, "pager", $pager
->toParams());
}
$this->client
->queueServiceActionCall("document", "list", $kparams);
if ($this->client
->isMultiRequest()) {
return null;
}
$resultObject = $this->client
->doQueue();
$this->client
->throwExceptionIfError($resultObject);
$this->client
->validateObjectType($resultObject, "KalturaDocumentListResponse");
return $resultObject;
}