public function get_setting() {
        $site = course_get_format(get_site())->get_course();
        return $site->{$this->name} != '' ? $site->{$this->name} : NULL;
    }
public function get_setting() {
        $site = course_get_format(get_site())->get_course();
        return $site->{$this->name} != '' ? $site->{$this->name} : NULL;
    }
public function get_setting ( ) { $ site = course_get_format ( get_site ( ) ) -> get_course ( ) ; return $ site -> { $ this -> name } != '' ? $ site -> { $ this -> name } : NULL ; }
Return the current setting

@return mixed string or null
Return the current setting