Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 72... Línea 72...
72
    }
72
    }
Línea 73... Línea 73...
73
 
73
 
74
    /**
74
    /**
75
     * This method will return the array objects for the bulk actions ui.
75
     * This method will return the array objects for the bulk actions ui.
-
 
76
     *
76
     *
77
     * @param view $qbank
77
     * @return bulk_action_base[]
78
     * @return bulk_action_base[]
78
     */
79
     */
79
    public function get_bulk_actions() {
80
    public function get_bulk_actions(view $qbank): array {
80
        return [];
81
        return [];
Línea 81... Línea 82...
81
    }
82
    }
82
 
83
 
Línea 106... Línea 107...
106
    }
107
    }
Línea 107... Línea 108...
107
 
108
 
108
    /**
109
    /**
109
     * Return search conditions for the plugin.
110
     * Return search conditions for the plugin.
-
 
111
     *
-
 
112
     * This is used by question bank view classes to get the list of available filters to display in the filter UI.
-
 
113
     *
-
 
114
     * This is also used to get the list of available filters for other purposes, for example resolving the list of questions
-
 
115
     * selected by a set of filters, in which case the `$qbank` argument may be `null`
-
 
116
     * {@see filter_condition_manager::get_condition_classes()}.
-
 
117
     *
110
     *
118
     * @param view|null $qbank The current question bank view the filters are being rendered for, for example the main question
111
     * @param view|null $qbank
119
     *     bank page, or the random question view.
112
     * @return condition[]
120
     * @return condition[]
113
     */
121
     */
114
    public function get_question_filters(view $qbank = null): array {
122
    public function get_question_filters(?view $qbank = null): array {
115
        return [];
123
        return [];
116
    }
124
    }