public static function fromFileSyncArray(array $arr) { $newArr = new KalturaRemotePathArray(); foreach ($arr as $obj) { $nObj = new KalturaRemotePath(); $nObj->fromObject($obj); $newArr[] = $nObj; } return $newArr; }
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; }