public function getTypeListResponse(KalturaFilterPager $pager, KalturaDetachedResponseProfile $responseProfile = null, array $types = null)
 {
     list($list, $totalCount) = $this->doGetListResponse($pager, $types);
     $response = new KalturaThumbParamsOutputListResponse();
     $response->objects = KalturaThumbParamsOutputArray::fromDbArray($list, $responseProfile);
     $response->totalCount = $totalCount;
     return $response;
 }
 /**
  * List thumb params output objects by filter and pager
  * 
  * @action list
  * @param KalturaThumbParamsOutputFilter $filter
  * @param KalturaFilterPager $pager
  * @return KalturaThumbParamsOutputListResponse
  */
 function listAction(KalturaThumbParamsOutputFilter $filter = null, KalturaFilterPager $pager = null)
 {
     if (!$filter) {
         $filter = new KalturaThumbParamsOutputFilter();
     }
     if (!$pager) {
         $pager = new KalturaFilterPager();
     }
     $thumbParamsOutputFilter = new assetParamsOutputFilter();
     $filter->toObject($thumbParamsOutputFilter);
     $c = new Criteria();
     $thumbParamsOutputFilter->attachToCriteria($c);
     $totalCount = thumbParamsOutputPeer::doCount($c);
     $pager->attachToCriteria($c);
     $dbList = thumbParamsOutputPeer::doSelect($c);
     $list = KalturaThumbParamsOutputArray::fromDbArray($dbList);
     $response = new KalturaThumbParamsOutputListResponse();
     $response->objects = $list;
     $response->totalCount = $totalCount;
     return $response;
 }
 /**
  * List thumb params output objects by filter and pager
  * 
  * @action list
  * @param KalturaThumbParamsOutputFilter $filter
  * @param KalturaFilterPager $pager
  * @return KalturaThumbParamsOutputListResponse
  */
 function listAction(KalturaThumbParamsOutputFilter $filter = null, KalturaFilterPager $pager = null)
 {
     if (!$filter) {
         $filter = new KalturaThumbParamsOutputFilter();
     }
     if (!$pager) {
         $pager = new KalturaFilterPager();
     }
     $thumbParamsOutputFilter = new assetParamsOutputFilter();
     $filter->toObject($thumbParamsOutputFilter);
     $c = new Criteria();
     $thumbParamsOutputFilter->attachToCriteria($c);
     $thumbTypes = KalturaPluginManager::getExtendedTypes(assetParamsOutputPeer::OM_CLASS, assetType::THUMBNAIL);
     $c->add(assetParamsOutputPeer::TYPE, $thumbTypes, Criteria::IN);
     $totalCount = assetParamsOutputPeer::doCount($c);
     $pager->attachToCriteria($c);
     $dbList = assetParamsOutputPeer::doSelect($c);
     $list = KalturaThumbParamsOutputArray::fromDbArray($dbList);
     $response = new KalturaThumbParamsOutputListResponse();
     $response->objects = $list;
     $response->totalCount = $totalCount;
     return $response;
 }