_GroupList::reset_list_counters

5.x _GroupList.php _GroupList::reset_list_counters()
4.x _GroupList.php _GroupList::reset_list_counters()

File

classes/_GroupList.php, line 14

Class

_GroupList

Code

function reset_list_counters() {
  $this->reset_counter();
  // Also, go through all groups in the list and call
  // their "reset_list_counters" method.
  for ($t = 0; $t < $this->count; $t++) {
    $group = $this->array_list[$t];
    $group->reset_list_counters();
  }
}