function _Course::get_term_description

4.x _Course.php _Course::get_term_description($bool_abbreviate = false)
5.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 1948

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);
}