Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 46... Línea 46...
46
     * @param array $tools
46
     * @param array $tools
47
     * @param instance|null $instance
47
     * @param instance|null $instance
48
     * @param int $courseid
48
     * @param int $courseid
49
     * @return array
49
     * @return array
50
     */
50
     */
51
    public static function get_recording_table(array $recordings, array $tools, instance $instance = null,
51
    public static function get_recording_table(array $recordings, array $tools, ?instance $instance = null,
52
        int $courseid = 0): array {
52
        int $courseid = 0): array {
53
        $typeprofiles = bigbluebutton_proxy::get_instance_type_profiles();
53
        $typeprofiles = bigbluebutton_proxy::get_instance_type_profiles();
54
        $typeprofile = empty($instance) ? $typeprofiles[0] : $typeprofiles[$instance->get_type()];
54
        $typeprofile = empty($instance) ? $typeprofiles[0] : $typeprofiles[$instance->get_type()];
55
        $lang = get_string('locale', 'core_langconfig');
55
        $lang = get_string('locale', 'core_langconfig');
56
        $locale = substr($lang, 0, strpos($lang, '.'));
56
        $locale = substr($lang, 0, strpos($lang, '.'));