function search(KalturaBaseEntryFilter $entryFilter = null, KalturaCaptionAssetItemFilter $captionAssetItemFilter = null, KalturaFilterPager $captionAssetItemPager = null)
 {
     $kparams = array();
     if ($entryFilter !== null) {
         $this->client->addParam($kparams, "entryFilter", $entryFilter->toParams());
     }
     if ($captionAssetItemFilter !== null) {
         $this->client->addParam($kparams, "captionAssetItemFilter", $captionAssetItemFilter->toParams());
     }
     if ($captionAssetItemPager !== null) {
         $this->client->addParam($kparams, "captionAssetItemPager", $captionAssetItemPager->toParams());
     }
     $this->client->queueServiceActionCall("captionsearch_captionassetitem", "search", $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultObject = $this->client->doQueue();
     $this->client->throwExceptionIfError($resultObject);
     $this->client->validateObjectType($resultObject, "KalturaCaptionAssetItemListResponse");
     return $resultObject;
 }
 function count(KalturaBaseEntryFilter $filter = null)
 {
     $kparams = array();
     if ($filter !== null) {
         $this->client->addParam($kparams, "filter", $filter->toParams());
     }
     $this->client->queueServiceActionCall("baseentry", "count", $kparams);
     if ($this->client->isMultiRequest()) {
         return null;
     }
     $resultObject = $this->client->doQueue();
     $this->client->throwExceptionIfError($resultObject);
     $this->client->validateObjectType($resultObject, "integer");
     return $resultObject;
 }
Beispiel #3
0
 function listAction(KalturaBaseEntryFilter $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("baseentry", "list", $kparams);
     if ($this->client->isMultiRequest()) {
         return null;
     }
     $resultObject = $this->client->doQueue();
     $this->client->throwExceptionIfError($resultObject);
     $this->client->validateObjectType($resultObject, "KalturaBaseEntryListResponse");
     return $resultObject;
 }