ObjList::get_next

5.x ObjList.php ObjList::get_next()
4.x ObjList.php ObjList::get_next()
3 calls to ObjList::get_next()
_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.

File

classes/ObjList.php, line 203

Class

ObjList

Code

function get_next() {
  $s = $this->array_list[$this->i];
  $this->i++;
  return $s;
}