public function get_name() {
        $context = $this->context->get_course_context(false);
        if ($context) {
            return get_string('courselegacyfilesofcourse', 'moodle', $context->get_context_name(false, true));
        } else {
            return get_string('courselegacyfiles');
        }
    }
public function get_name() {
        $context = $this->context->get_course_context(false);
        if ($context) {
            return get_string('courselegacyfilesofcourse', 'moodle', $context->get_context_name(false, true));
        } else {
            return get_string('courselegacyfiles');
        }
    }
public function get_name ( ) { $ context = $ this -> context -> get_course_context ( false ) ; if ( $ context ) { return get_string ( 'courselegacyfilesofcourse' , 'moodle' , $ context -> get_context_name ( false , true ) ) ; } else { return get_string ( 'courselegacyfiles' ) ; } }
Return the repository name.

@return string
Return the repository name .