Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 75... Línea 75...
75
     *
75
     *
76
     * @param renderer_base $output
76
     * @param renderer_base $output
77
     * @return array
77
     * @return array
78
     */
78
     */
79
    protected function get_other_values(renderer_base $output): array {
79
    protected function get_other_values(renderer_base $output): array {
80
        global $DB;
-
 
Línea 81... Línea 80...
81
 
80
 
82
        /** @var datasource $report */
81
        /** @var datasource $report */
Línea 83... Línea 82...
83
        $report = $this->related['report'];
82
        $report = $this->related['report'];
Línea 99... Línea 98...
99
        $table->close_recordset();
98
        $table->close_recordset();
Línea 100... Línea 99...
100
 
99
 
101
        return [
100
        return [
102
            'headers' => $table->headers,
101
            'headers' => $table->headers,
103
            'rows' => $tablerows,
102
            'rows' => $tablerows,
104
            'totalrowcount' => $DB->count_records_sql($table->countsql, $table->countparams),
103
            'totalrowcount' => $table->totalrows,
105
        ];
104
        ];
106
    }
105
    }