Proyectos de Subversion Moodle

Rev

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

Rev 250 Rev 256
Línea 656... Línea 656...
656
        }
656
        }
Línea 657... Línea 657...
657
 
657
 
658
        return $html;
658
        return $html;
Línea 659... Línea -...
659
    }
-
 
660
 
-
 
661
 
-
 
662
    public function render_statics_blocks($userid = null)
-
 
663
    {
-
 
664
        global $USER;
-
 
665
 
-
 
666
        if (!$userid) {
-
 
667
            $userid = $USER->id;
-
 
668
        }
-
 
669
 
-
 
670
        $html = null;
-
 
671
 
-
 
672
        // Instanciamos StaticsBlocks para renderizar los bloques
-
 
673
        $statics_blocks = new \StaticsBlocks($this->page->title);
-
 
674
        $blocks = $statics_blocks->renderBlocks();
-
 
675
 
-
 
676
        return $blocks;
-
 
677
    }
659
    }
678
 
660
 
679
    public function display_course_progress()
661
    public function display_course_progress()
680
    {
662
    {
681
        $html = null;
663
        $html = null;