/**
  * List KalturaDropFolderFile objects
  * 
  * @action list
  * @param KalturaDropFolderFileFilter $filter
  * @param KalturaFilterPager $pager
  * @return KalturaDropFolderFileListResponse
  */
 public function listAction(KalturaDropFolderFileFilter $filter = null, KalturaFilterPager $pager = null)
 {
     if (!$filter) {
         $filter = new KalturaDropFolderFileFilter();
     }
     $dropFolderFileFilter = $filter->toObject();
     $c = new Criteria();
     $dropFolderFileFilter->attachToCriteria($c);
     $count = DropFolderFilePeer::doCount($c);
     if (!$pager) {
         $pager = new KalturaFilterPager();
     }
     $pager->attachToCriteria($c);
     $list = DropFolderFilePeer::doSelect($c);
     $response = new KalturaDropFolderFileListResponse();
     $response->objects = KalturaDropFolderFileArray::fromDbArray($list);
     $response->totalCount = $count;
     return $response;
 }