【发布时间】:2017-09-09 18:45:05
【问题描述】:
我使用 moodle rest api 创建了一个特定的课程,我想在该特定课程中添加一个文件。该课程可能采用周/主题形式。我需要在选定的主题/周下添加上传的文件,我该如何实现? .我使用 core_files_upload 上传文件,但如何将其添加到所选课程?
Array
(
[contextid] => int
[component] => string
[filearea] => string
[itemid] => int
[filepath] => string
[filename] => string
[url] => string
)
【问题讨论】:
标签: moodle moodle-api moodle-mobile