Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 56... Línea 56...
56
        string $format = 'topics',
56
        string $format = 'topics',
57
        string $rolename = 'editingteacher',
57
        string $rolename = 'editingteacher',
58
        bool $hasavailability = false,
58
        bool $hasavailability = false,
59
        bool $available = false,
59
        bool $available = false,
60
        bool $expected = false
60
        bool $expected = false
61
    ) {
61
    ): void {
62
        $data = $this->setup_hasrestrictions_scenario($format, $rolename, $hasavailability, $available);
62
        $data = $this->setup_hasrestrictions_scenario($format, $rolename, $hasavailability, $available);
Línea 63... Línea 63...
63
 
63
 
64
        // Get the cm state.
64
        // Get the cm state.
65
        $courseformat = $data->courseformat;
65
        $courseformat = $data->courseformat;