Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 39... Línea 39...
39
 
39
 
40
    /**
40
    /**
41
     * Convenience function to create a testable instance of an assignment.
41
     * Convenience function to create a testable instance of an assignment.
42
     *
42
     *
43
     * @param array $params Array of parameters to pass to the generator
43
     * @param array $params Array of parameters to pass to the generator
44
     * @return testable_assign Testable wrapper around the assign class.
44
     * @return mod_assign_testable_assign Testable wrapper around the assign class.
45
     */
45
     */
46
    protected function create_instance($course, $params = [], $options = []) {
46
    protected function create_instance($course, $params = [], $options = []) {
Línea 47... Línea 47...
47
        $params['course'] = $course->id;
47
        $params['course'] = $course->id;