function ObjList::refresh_indexes

7.x ObjList.php ObjList::refresh_indexes()
6.x ObjList.php ObjList::refresh_indexes()

File

classes/ObjList.php, line 194

Class

ObjList

Code

function refresh_indexes() {
  $new_array_list = array();
  foreach ($this->array_list as $obj) {
    $new_array_list [] = $obj;
  }
  $this->array_list = $new_array_list;
  $this->reset_counter();
}