Ejemplo n.º 1
0
 /**
  * List all GroupUsers
  *
  * @param KalturaGroupUserFilter $filter
  * @param KalturaFilterPager $pager
  * @return KalturaGroupUserListResponse
  */
 function listAction(KalturaGroupUserFilter $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("groupuser", "list", $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultObject = $this->client->doQueue();
     $this->client->throwExceptionIfError($resultObject);
     $this->client->validateObjectType($resultObject, "KalturaGroupUserListResponse");
     return $resultObject;
 }
Ejemplo n.º 2
0
 /**
  * List all GroupUsers
  * 
  * @action list
  * @param KalturaGroupUserFilter $filter
  * @param KalturaFilterPager $pager
  * @return KalturaGroupUserListResponse
  */
 function listAction(KalturaGroupUserFilter $filter = null, KalturaFilterPager $pager = null)
 {
     if (!$filter) {
         $filter = new KalturaGroupUserFilter();
     }
     if (!$pager) {
         $pager = new KalturaFilterPager();
     }
     return $filter->getListResponse($pager, $this->getResponseProfile());
 }