Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 59... Línea 59...
59
    public function get_table(renderer_base $output): html_table {
59
    public function get_table(renderer_base $output): html_table {
60
        // Print the list of instances.
60
        // Print the list of instances.
61
        $table = new html_table();
61
        $table = new html_table();
Línea 62... Línea 62...
62
 
62
 
63
        if (course_format_uses_sections($this->course->format)) {
63
        if (course_format_uses_sections($this->course->format)) {
64
            $sectionheading = get_string('sectionname', "format_{$this->course->format}");
64
            $sectionheading = course_get_format($this->course)->get_generic_section_name();
65
        } else {
65
        } else {
66
            $sectionheading = '';
66
            $sectionheading = '';
Línea 67... Línea 67...
67
        }
67
        }
Línea 76... Línea 76...
76
            get_string('index_heading_recording', plugin::COMPONENT),
76
            get_string('index_heading_recording', plugin::COMPONENT),
77
            get_string('index_heading_actions', plugin::COMPONENT),
77
            get_string('index_heading_actions', plugin::COMPONENT),
78
        ];
78
        ];
79
        $table->align = ['center', 'left', 'center', 'center', 'center', 'center', 'center'];
79
        $table->align = ['center', 'left', 'center', 'center', 'center', 'center', 'center'];
Línea -... Línea 80...
-
 
80
 
80
 
81
        $modinfo = get_fast_modinfo($this->course);
-
 
82
        foreach ($modinfo->instances['bigbluebuttonbn'] as $cm) {
81
        foreach ($this->instances as $instance) {
83
            $instance = $this->instances[$cm->id];
82
            $this->add_instance_to_table($output, $table, $instance);
84
            $this->add_instance_to_table($output, $table, $instance);
Línea 83... Línea 85...
83
        }
85
        }
84
 
86