Proyectos de Subversion Moodle

Rev

Rev 989 | Rev 991 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 989 Rev 990
Línea 496... Línea 496...
496
    echo $OUTPUT->box_start('generalbox mt-4 pt-4 border-top text-center');
496
    echo $OUTPUT->box_start('generalbox mt-4 pt-4 border-top text-center');
497
    echo $linkall;
497
    echo $linkall;
498
    echo $OUTPUT->box_end();
498
    echo $OUTPUT->box_end();
499
}
499
}
Línea 500... Línea -...
500
 
-
 
501
$description = 'Prueba de render';
-
 
502
 
500
 
Línea 503... Línea -...
503
$modules = get_fast_modinfo($course->id)->get_cms();
-
 
504
 
-
 
505
echo json_encode($modules);
501
$modules = get_fast_modinfo($course->id)->get_cms();
506
 
502
 
507
foreach ($modules as $module) {
-
 
Línea 508... Línea 503...
508
    $modname = $module->get_formatted_name();
503
foreach ($modules as $module) {
509
    echo $modname;
504
    $modname = $module->get_formatted_name();
510
 
505
 
511
    if (str_contains(strtolower($modname), 'zoom')) {
506
    if (str_contains(strtolower($modname), 'zoom')) {
512
        $modcontent = $module->get_formatted_content();
507
        $modcontent = $module->get_formatted_content();
Línea 513... Línea -...
513
        $description = $modcontent;
-
 
Línea 514... Línea 508...
514
    }
508
        echo $modcontent;
515
}
509
    }