Proyectos de Subversion Moodle

Rev

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

Rev 968 Rev 984
Línea 2777... Línea 2777...
2777
                        }
2777
                        }
2778
                    }
2778
                    }
2779
                }
2779
                }
Línea 2780... Línea 2780...
2780
 
2780
 
-
 
2781
                $modname = $module->get_formatted_name();
Línea 2781... Línea 2782...
2781
                $modname = $module->get_formatted_name();
2782
                $modcontent = $module->get_formatted_content();
2782
 
2783
 
2783
                if (empty($module->url)) {
2784
                if (empty($module->url)) {
2784
                    $linkurl = '';
2785
                    $linkurl = '';
Línea 2810... Línea 2811...
2810
                    'indexElement' => $key,
2811
                    'indexElement' => $key,
2811
                    'numberOfTemary' => $numberOfTemary,
2812
                    'numberOfTemary' => $numberOfTemary,
2812
                    'activity' => true,
2813
                    'activity' => true,
2813
                    'blank' => !empty($section->section),
2814
                    'blank' => !empty($section->section),
2814
                    'name' => $this->substr_cesa_navigation_course_menu_name($modname),
2815
                    'name' => $this->substr_cesa_navigation_course_menu_name($modname),
-
 
2816
                    'content' => $modcontent,
2815
                    'duration' => $duration,
2817
                    'duration' => $duration,
2816
                    'type' =>  $type,
2818
                    'type' =>  $type,
2817
                    'completed' => $completiondata->completionstate == COMPLETION_COMPLETE || $completiondata->completionstate == COMPLETION_COMPLETE_PASS,
2819
                    'completed' => $completiondata->completionstate == COMPLETION_COMPLETE || $completiondata->completionstate == COMPLETION_COMPLETE_PASS,
2818
                    'failed' => $completiondata->completionstate == COMPLETION_COMPLETE_FAIL,
2820
                    'failed' => $completiondata->completionstate == COMPLETION_COMPLETE_FAIL,
2819
                    'url' => $linkurl
2821
                    'url' => $linkurl