Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 48... Línea 48...
48
     * @param array|null $allowedqtypes optional list of qtypes that are allowed. If given, only
48
     * @param array|null $allowedqtypes optional list of qtypes that are allowed. If given, only
49
     *      those qtypes will be shown. Example value array('description', 'multichoice').
49
     *      those qtypes will be shown. Example value array('description', 'multichoice').
50
     * @param bool $enablejs
50
     * @param bool $enablejs
51
     * @return bool|string
51
     * @return bool|string
52
     */
52
     */
53
    public static function print_choose_qtype_to_add_form(array $hiddenparams, array $allowedqtypes = null, $enablejs = true) {
53
    public static function print_choose_qtype_to_add_form(array $hiddenparams, ?array $allowedqtypes = null, $enablejs = true) {
54
        global $PAGE;
54
        global $PAGE;
Línea 55... Línea 55...
55
 
55
 
56
        $chooser = \qbank_editquestion\qbank_chooser::get($PAGE->course, $hiddenparams, $allowedqtypes);
56
        $chooser = \qbank_editquestion\qbank_chooser::get($PAGE->course, $hiddenparams, $allowedqtypes);