Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 47... Línea 47...
47
    ): void {
47
    ): void {
48
        $updates->add_cm_create(array_pop($ids));
48
        $updates->add_cm_create(array_pop($ids));
49
    }
49
    }
Línea 50... Línea 50...
50
 
50
 
-
 
51
    /**
-
 
52
     * Alternative create_module state action for testing.
-
 
53
     *
-
 
54
     * @param stateupdates $updates the affected course elements track
-
 
55
     * @param stdClass $course the course object
-
 
56
     * @param string $modname the module name
-
 
57
     * @param int $targetsectionnum target section number
-
 
58
     * @param int|null $targetcmid optional target cm id
-
 
59
     */
-
 
60
    public function create_module(
-
 
61
        stateupdates $updates,
-
 
62
        stdClass $course,
-
 
63
        string $modname,
-
 
64
        int $targetsectionnum,
-
 
65
        ?int $targetcmid = null
-
 
66
    ): void {
-
 
67
    }
-
 
68
 
-
 
69
    /**
-
 
70
     * Alternative new_module state action for testing.
-
 
71
     *
-
 
72
     * @param stateupdates $updates the affected course elements track
-
 
73
     * @param stdClass $course the course object
-
 
74
     * @param string $modname the module name
-
 
75
     * @param int $targetsectionid target section id
-
 
76
     * @param int|null $targetcmid optional target cm id
-
 
77
     */
-
 
78
    public function new_module(
-
 
79
        stateupdates $updates,
-
 
80
        stdClass $course,
-
 
81
        string $modname,
-
 
82
        int $targetsectionid,
-
 
83
        ?int $targetcmid = null
-
 
84
    ): void {
-
 
85
    }
-
 
86
 
51
    /**
87
    /**
52
     * Course format custom state action.
88
     * Course format custom state action.
53
     *
89
     *
54
     * @param stateupdates $updates the affected course elements track
90
     * @param stateupdates $updates the affected course elements track
55
     * @param stdClass $course the course object
91
     * @param stdClass $course the course object