Proyectos de Subversion Moodle

Rev

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

Rev 492 Rev 501
Línea 21... Línea 21...
21
    public function get_content()
21
    public function get_content()
22
    {
22
    {
23
        global $PAGE;
23
        global $PAGE;
24
        $PAGE->requires->js('/blocks/cursos_recientes_ajax/js/cursos_recientes_ajax.js');
24
        $PAGE->requires->js('/blocks/cursos_recientes_ajax/js/cursos_recientes_ajax.js');
Línea 25... Línea -...
25
 
-
 
26
 
25
 
27
        if (isset($this->content)) {
26
        if (isset($this->content)) {
28
            return $this->content;
27
            return $this->content;
29
        } else {
28
        } else {
30
            $this->content  = new \stdClass();
29
            $this->content  = new \stdClass();
Línea 31... Línea -...
31
        }
-
 
32
 
-
 
33
 
30
        }
Línea 34... Línea -...
34
 
-
 
35
        $renderer = $this->page->get_renderer('block_cursos_recientes_ajax');
-
 
36
 
31
 
37
 
32
        $renderer = $this->page->get_renderer('block_cursos_recientes_ajax');
38
 
33
 
39
        $this->content = new \stdClass();
34
        $this->content = new \stdClass();