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