Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 66... Línea 66...
66
     */
66
     */
67
    protected function get_dummy_question(): \stdClass {
67
    protected function get_dummy_question(): \stdClass {
68
        return (object)[
68
        return (object)[
69
            'id' => 1,
69
            'id' => 1,
70
            'qtype' => 'truefalse',
70
            'qtype' => 'truefalse',
-
 
71
            'questiontext' => 'Is the moon made of cheese?',
-
 
72
            'questiontextformat' => FORMAT_PLAIN,
71
            'createdby' => 2,
73
            'createdby' => 2,
72
            'categoryid' => 1,
74
            'categoryid' => 1,
73
            'contextid' => 1,
75
            'contextid' => 1,
74
            'status' => 'ready',
76
            'status' => 'ready',
75
            'version' => 1,
77
            'version' => 1,
Línea 81... Línea 83...
81
            'creatorlastname' => 'User',
83
            'creatorlastname' => 'User',
82
            'timecreated' => 1691157311,
84
            'timecreated' => 1691157311,
83
            'modifierfirstname' => 'Admin',
85
            'modifierfirstname' => 'Admin',
84
            'modifierlastname' => 'User',
86
            'modifierlastname' => 'User',
85
            'timemodified' => 1691157311,
87
            'timemodified' => 1691157311,
-
 
88
            'isdummy' => true,
86
        ];
89
        ];
87
    }
90
    }
Línea 88... Línea 91...
88
 
91
 
89
    /**
92
    /**