Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 87... Línea 87...
87
    /**
87
    /**
88
     * Calculate the activities count of the current section.
88
     * Calculate the activities count of the current section.
89
     *
89
     *
90
     * @return array with [[count by activity type], completed activities, total of activitites]
90
     * @return array with [[count by activity type], completed activities, total of activitites]
91
     */
91
     */
92
    private function calculate_section_stats(): array {
92
    protected function calculate_section_stats(): array {
93
        $format = $this->format;
93
        $format = $this->format;
94
        $course = $format->get_course();
94
        $course = $format->get_course();
95
        $section = $this->section;
95
        $section = $this->section;
96
        $modinfo = $format->get_modinfo();
96
        $modinfo = $format->get_modinfo();
97
        $completioninfo = new completion_info($course);
97
        $completioninfo = new completion_info($course);