function Course::get_term_description

6.x Course.php Course::get_term_description($bool_abbreviate = FALSE)
7.x Course.php Course::get_term_description($bool_abbreviate = FALSE)

Based on $this->term_id, returns a plain english description of the term. For example, 20061 would return "Spring of 2006".

Parameters

bool $bool_abbreviate:

  • If set to TRUE, abbreviations will be used. For example, Spring will be "Spr" and 2006 will be '06.

Return value

unknown

File

classes/Course.php, line 1936

Class

Course

Code

function get_term_description($bool_abbreviate = FALSE) 
 {
  // Let's use the built-in FP function
  return get_term_description($this->term_id, $bool_abbreviate, $this->school_id);
}