You are here

function ARC_erdf_parser::pop_subj in Taxonomy import/export via XML 6.2

Same name and namespace in other branches
  1. 5.2 arc/ARC_erdf_parser.php \ARC_erdf_parser::pop_subj()
  2. 5 arc/ARC_erdf_parser.php \ARC_erdf_parser::pop_subj()
  3. 6 arc/ARC_erdf_parser.php \ARC_erdf_parser::pop_subj()
1 call to ARC_erdf_parser::pop_subj()
ARC_erdf_parser::handle_close in arc/ARC_erdf_parser.php

File

arc/ARC_erdf_parser.php, line 348

Class

ARC_erdf_parser

Code

function pop_subj() {
  $new_subjs = array();
  $this->subj_count--;
  for ($i = 0, $i_max = $this->subj_count; $i < $i_max; $i++) {
    $new_subjs[] = $this->subjs[$i];
  }
  $this->subjs = $new_subjs;
}