/**
  * List all distribution providers
  * 
  * @param KalturaDistributionProfileFilter $filter 
  * @param KalturaFilterPager $pager 
  * @return KalturaDistributionProfileListResponse
  */
 function listAction(KalturaDistributionProfileFilter $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("contentdistribution_distributionprofile", "list", $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultObject = $this->client->doQueue();
     $this->client->throwExceptionIfError($resultObject);
     $this->client->validateObjectType($resultObject, "KalturaDistributionProfileListResponse");
     return $resultObject;
 }
 public function getOrderByMap()
 {
     return array_merge(parent::getOrderByMap(), $this->order_by_map);
 }
 public function getOrderByMap()
 {
     return array_merge(parent::getOrderByMap(), self::$order_by_map);
 }
 public function getOrderByMap()
 {
     return array_merge(parent::getOrderByMap(), KalturaExampleDistributionProfileBaseFilter::$order_by_map);
 }
 /**
  * List all distribution providers
  * 
  * @action list
  * @param KalturaDistributionProfileFilter $filter
  * @param KalturaFilterPager $pager
  * @return KalturaDistributionProfileListResponse
  */
 function listAction(KalturaDistributionProfileFilter $filter = null, KalturaFilterPager $pager = null)
 {
     if (!$filter) {
         $filter = new KalturaDistributionProfileFilter();
     }
     if (!$pager) {
         $pager = new KalturaFilterPager();
     }
     //Change the pageSize to support clients who hae had all their dist. profiles listed in Eagle
     $pager->pageSize = 100;
     $c = new Criteria();
     $distributionProfileFilter = new DistributionProfileFilter();
     $filter->toObject($distributionProfileFilter);
     $distributionProfileFilter->attachToCriteria($c);
     $count = DistributionProfilePeer::doCount($c);
     $pager->attachToCriteria($c);
     $list = DistributionProfilePeer::doSelect($c);
     $response = new KalturaDistributionProfileListResponse();
     $response->objects = KalturaDistributionProfileArray::fromDbArray($list);
     $response->totalCount = $count;
     return $response;
 }
 /**
  * List all distribution providers
  * 
  * @action list
  * @param KalturaDistributionProfileFilter $filter
  * @param KalturaFilterPager $pager
  * @return KalturaDistributionProfileListResponse
  */
 function listAction(KalturaDistributionProfileFilter $filter = null, KalturaFilterPager $pager = null)
 {
     if (!$filter) {
         $filter = new KalturaDistributionProfileFilter();
     }
     $c = new Criteria();
     $distributionProfileFilter = new DistributionProfileFilter();
     $filter->toObject($distributionProfileFilter);
     $distributionProfileFilter->attachToCriteria($c);
     $count = DistributionProfilePeer::doCount($c);
     if ($pager) {
         $pager->attachToCriteria($c);
     }
     $list = DistributionProfilePeer::doSelect($c);
     $response = new KalturaDistributionProfileListResponse();
     $response->objects = KalturaDistributionProfileArray::fromDbArray($list);
     $response->totalCount = $count;
     return $response;
 }