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