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 system_report $report */
81
        /** @var system_report $report */
Línea 83... Línea 82...
83
        $report = $this->related['report'];
82
        $report = $this->related['report'];
Línea 107... Línea 106...
107
        $table->close_recordset();
106
        $table->close_recordset();
Línea 108... Línea 107...
108
 
107
 
109
        return [
108
        return [
110
            'headers' => array_values($tableheaders),
109
            'headers' => array_values($tableheaders),
111
            'rows' => $tablerows,
110
            'rows' => $tablerows,
112
            'totalrowcount' => $DB->count_records_sql($table->countsql, $table->countparams),
111
            'totalrowcount' => $table->totalrows,
113
        ];
112
        ];
114
    }
113
    }