Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 42... Línea 42...
42
     *
42
     *
43
     * @param number $modifiedfrom
43
     * @param number $modifiedfrom
44
     * @param \context|null $context Optional context to restrict scope of returned results
44
     * @param \context|null $context Optional context to restrict scope of returned results
45
     * @return \moodle_recordset|null Recordset (or null if no results)
45
     * @return \moodle_recordset|null Recordset (or null if no results)
46
     */
46
     */
47
    public function get_document_recordset($modifiedfrom = 0, \context $context = null) {
47
    public function get_document_recordset($modifiedfrom = 0, ?\context $context = null) {
48
        global $DB;
48
        global $DB;
Línea 49... Línea 49...
49
 
49
 
50
        // Prepare query conditions.
50
        // Prepare query conditions.
51
        $where = 'timemodified >= ? AND deleted = ? AND confirmed = ?';
51
        $where = 'timemodified >= ? AND deleted = ? AND confirmed = ?';