Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 62... Línea 62...
62
     * @return string
62
     * @return string
63
     */
63
     */
64
    public static function get_field_sql(string $field, int $columntype): string {
64
    public static function get_field_sql(string $field, int $columntype): string {
65
        return "MIN({$field})";
65
        return "MIN({$field})";
66
    }
66
    }
-
 
67
 
-
 
68
    /**
-
 
69
     * Returns aggregated column type
-
 
70
     *
-
 
71
     * @param int $columntype
-
 
72
     * @return int
-
 
73
     */
-
 
74
    public static function get_column_type(int $columntype): int {
-
 
75
        return $columntype;
-
 
76
    }
67
}
77
}