Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 45... Línea 45...
45
        $mform->setType('summary_editor', PARAM_RAW);
45
        $mform->setType('summary_editor', PARAM_RAW);
Línea 46... Línea 46...
46
 
46
 
47
        $mform->addElement('hidden', 'id');
47
        $mform->addElement('hidden', 'id');
Línea -... Línea 48...
-
 
48
        $mform->setType('id', PARAM_INT);
-
 
49
 
-
 
50
        $mform->addElement('hidden', 'course', 0);
48
        $mform->setType('id', PARAM_INT);
51
        $mform->setType('course', PARAM_INT);
49
 
52
 
50
        // additional fields that course format has defined
53
        // additional fields that course format has defined
51
        $courseformat = course_get_format($course);
54
        $courseformat = course_get_format($course);
52
        $formatoptions = $courseformat->section_format_options(true);
55
        $formatoptions = $courseformat->section_format_options(true);