Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 431... Línea 431...
431
            return false;
431
            return false;
432
        }
432
        }
433
        return true;
433
        return true;
434
    }
434
    }
Línea 435... Línea -...
435
 
-
 
436
    /**
435
 
437
     * Return a list of the batch grading operations performed by this plugin.
436
    public function get_grading_batch_operation_details() {
-
 
437
        global $OUTPUT;
438
     * This plugin supports batch upload files and upload zip.
438
 
439
     *
439
        return [
440
     * @return array The list of batch grading operations
440
            (object) [
-
 
441
                'key' => 'uploadfiles',
441
     */
442
                'label' => get_string('batchoperationuploadfiles', 'assignfeedback_file'),
442
    public function get_grading_batch_operations() {
443
                'icon' => $OUTPUT->pix_icon('i/upload', ''),
-
 
444
                'confirmationtitle' => get_string('uploadfiles', 'assignfeedback_file'),
-
 
445
                'confirmationquestion' => get_string('batchoperationconfirmuploadfiles', 'assignfeedback_file'),
-
 
446
            ],
443
        return array('uploadfiles'=>get_string('uploadfiles', 'assignfeedback_file'));
447
        ];
Línea 444... Línea 448...
444
    }
448
    }
445
 
449
 
446
    /**
450
    /**