public function get_coursename() {
        return format_string($this->course->shortname, true, array(
            'context' => \context_course::instance($this->course->id),
        ));
    }
public function get_coursename() {
        return format_string($this->course->shortname, true, array(
            'context' => \context_course::instance($this->course->id),
        ));
    }
public function get_coursename ( ) { return format_string ( $ this -> course -> shortname , true , array ( 'context' => \ context_course :: instance ( $ this -> course -> id ) , ) ) ; }
The name of the course that the forum is in.

@return string
The name of the course that the forum is in .