Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 58... Línea 58...
58
            'id' => $course->id,
58
            'id' => $course->id,
59
            'coursename' => format_string($course->fullname),
59
            'coursename' => format_string($course->fullname),
60
        ];
60
        ];
Línea 61... Línea 61...
61
 
61
 
62
        if ($section) {
62
        if ($section) {
63
            $data->sectionname = get_string('sectionname', "format_$course->format");
63
            $data->sectionname = $format->get_generic_section_name();
64
            $data->sectiontitle = get_section_name($course, $section);
64
            $data->sectiontitle = $format->get_section_name($section);
Línea 65... Línea 65...
65
        }
65
        }
66
 
66
 
67
        return $data;
67
        return $data;