ObjList::reset_counter

5.x ObjList.php ObjList::reset_counter()
4.x ObjList.php ObjList::reset_counter()
14 calls to ObjList::reset_counter()
_CourseList::find_first_selectable in classes/_CourseList.php
Returns the first course in the list which the user may select for advising. This method is used by the popup window to determine what exactly is the first element of the course list. (so it can make that radio button checked).
_CourseList::has_any_course_selected in classes/_CourseList.php
Returns TRUE if there is at least one course in this list which is selected (for advising).
_CourseList::mark_as_displayed in classes/_CourseList.php
Mark every course in this list as bool_has_been_displayed = true. Used for making sure we don't display the same course twice on screen.
_CourseList::remove_courses_not_in_degree in classes/_CourseList.php
Removes all courses which are not assigned to this degree_id.
_CourseList::remove_course_with_course_id in classes/_CourseList.php
Remove occurances of the course in the course list.

... See full list

File

classes/ObjList.php, line 87

Class

ObjList

Code

function reset_counter() {
  $this->i = 0;
  $this->count = count($this->array_list);
}