function createPackageList()
{
    $partnerPackages = new PartnerPackages();
    $packages = $partnerPackages->listPackages();
    $partner_package_list = array();
    foreach ($packages as $package) {
        $partner_package_list[$package['id']] = $package['name'];
    }
    return $partner_package_list;
}
 public function executeImpl($partner_id, $subp_id, $puser_id, $partner_prefix, $puser_kuser)
 {
     $packages = new PartnerPackages();
     $this->addMsg("packages", $packages->listPackages());
 }
Exemplo n.º 3
0
 /**
  * @action getPackages
  * @return KalturaSystemPartnerPackageArray
  */
 public function getPackages()
 {
     $partnerPackages = new PartnerPackages();
     $packages = $partnerPackages->listPackages();
     $partnerPackages = new KalturaSystemPartnerPackageArray();
     $partnerPackages->fromArray($packages);
     return $partnerPackages;
 }