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
        return [
42
        return [
43
            new delete_action($qbank),
43
            new delete_action($qbank),
44
        ];
44
        ];
45
    }
45
    }
Línea -... Línea 46...
-
 
46
 
-
 
47
    /**
-
 
48
     * Initialise the bulk action.
-
 
49
     * @param view $qbank
-
 
50
     * @return bulk_delete_action[]
46
 
51
     */
47
    public function get_bulk_actions(): array {
52
    public function get_bulk_actions(view $qbank): array {
48
        return [
53
        return [
49
            new bulk_delete_action(),
54
            new bulk_delete_action($qbank),
50
        ];
55
        ];
Línea 51... Línea 56...
51
    }
56
    }
52
 
57
 
53
    public function get_question_filters(view $qbank = null): array {
58
    public function get_question_filters(?view $qbank = null): array {
54
        return [
59
        return [
55
            new hidden_condition($qbank),
60
            new hidden_condition($qbank),
56
        ];
61
        ];