You are here

function uc_get_zone_ids in Ubercart 5

Return an array of IDs to use for country file zone INSERTs!

File

uc_store/uc_store.module, line 2486
Contains global Ubercart functions and store administration functionality.

Code

function uc_get_zone_ids($num) {
  for ($i = 0; $i < $num; $i++) {
    $ids[] = db_next_id('{uc_zones}_zone_id');
  }
  return $ids;
}