Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 120... Línea 120...
120
                'grades' => $grades,
120
                'grades' => $grades,
121
                'itemdetails' => $itemdetails
121
                'itemdetails' => $itemdetails
122
            )
122
            )
123
        );
123
        );
Línea 124... Línea 124...
124
 
124
 
Línea 125... Línea 125...
125
        list($itemtype, $itemmodule) = normalize_component($params['component']);
125
        list($itemtype, $itemmodule) = \core_component::normalize_component($params['component']);
126
 
126
 
127
        if (! $cm = get_coursemodule_from_id($itemmodule, $activityid)) {
127
        if (! $cm = get_coursemodule_from_id($itemmodule, $activityid)) {
128
            throw new moodle_exception('invalidcoursemodule');
128
            throw new moodle_exception('invalidcoursemodule');