コード例 #1
0
 /**
  * List Caption Params by filter with paging support (By default - all system default params will be listed too)
  * 
  * @param KalturaCaptionParamsFilter $filter 
  * @param KalturaFilterPager $pager 
  * @return KalturaCaptionParamsListResponse
  */
 function listAction(KalturaCaptionParamsFilter $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("caption_captionparams", "list", $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultObject = $this->client->doQueue();
     $this->client->throwExceptionIfError($resultObject);
     $this->client->validateObjectType($resultObject, "KalturaCaptionParamsListResponse");
     return $resultObject;
 }