public static function fromDbArray($arr, KalturaDetachedResponseProfile $responseProfile = null)
 {
     $newArr = new KalturaFtpDistributionFileArray();
     if ($arr == null) {
         return $newArr;
     }
     foreach ($arr as $obj) {
         $nObj = new KalturaFtpDistributionFile();
         $nObj->fromObject($obj, $responseProfile);
         $newArr[] = $nObj;
     }
     return $newArr;
 }
 public static function fromDbArray($arr)
 {
     $newArr = new KalturaFtpDistributionFileArray();
     if ($arr == null) {
         return $newArr;
     }
     foreach ($arr as $obj) {
         $nObj = new KalturaFtpDistributionFile();
         $nObj->fromObject($obj);
         $newArr[] = $nObj;
     }
     return $newArr;
 }