public static function fromFileSyncArray(array $arr)
 {
     $newArr = new KalturaRemotePathArray();
     foreach ($arr as $obj) {
         $nObj = new KalturaRemotePath();
         $nObj->fromObject($obj);
         $newArr[] = $nObj;
     }
     return $newArr;
 }
Esempio n. 2
0
 public static function fromDbArray(array $arr = null, KalturaDetachedResponseProfile $responseProfile = null)
 {
     $newArr = new KalturaRemotePathArray();
     foreach ($arr as $obj) {
         $nObj = new KalturaRemotePath();
         $nObj->fromObject($obj, $responseProfile);
         $newArr[] = $nObj;
     }
     return $newArr;
 }