function _AdvisingScreen::fix_course_title

4.x _AdvisingScreen.php _AdvisingScreen::fix_course_title($str)
5.x _AdvisingScreen.php _AdvisingScreen::fix_course_title($str)

Left in for legacy reasons, this function uses a new Course object's method of $course->fix_title to make a course's title more readable.

Parameters

string $str:

Return value

stromg

3 calls to _AdvisingScreen::fix_course_title()
_AdvisingScreen::display_toolbox_courses in classes/_AdvisingScreen.php
Used in the Toolbox popup, this will display content of the tab which shows a student's courses which they have taken.
_AdvisingScreen::display_toolbox_moved in classes/_AdvisingScreen.php
Used in the Toolbox popup, this will display content of the tab which shows a student's moved courses. That is, courses which have had their group memberships changed.
_AdvisingScreen::display_toolbox_transfers in classes/_AdvisingScreen.php
Used in the Toolbox popup, this will display content of the tab which shows a student's transfers

File

classes/_AdvisingScreen.php, line 2237

Class

_AdvisingScreen

Code

function fix_course_title($str) 
 {

  $new_course = new Course();
  $str = $new_course->fix_title($str);


  return $str;
}