function get_all_atom_edition_ids()
 {
     $ids = array();
     $num_editions = get_number_of_editions();
     $edition_num = $num_editions;
     $start_num = get_edition_start_num();
     do {
         $ids[] = get_edition_id($edition_num);
     } while (--$edition_num >= $start_num);
     return $ids;
 }
 function get_all_atom_edition_ids()
 {
     $ids = array();
     $start_num = get_edition_start_num();
     $end_num = get_number_of_editions() + $start_num - 1;
     $edition_num = $start_num;
     do {
         if (pugpig_get_edition_package_exists($edition_num)) {
             $ids[] = get_edition_id($edition_num);
         }
     } while ($edition_num++ < $end_num);
     return $ids;
 }