Web Service Get Contexts

Local plugins ::: local_getcontexts
Maintained by Francois J
It is a web service designed to return contexts providing context level and instance ID. It includes a simple example.
Latest release:
5 sites
8 downloads
2 fans
Current versions available: 1

It is a web service designed to return contexts providing context level and instance ID.
It includes a simple example.

This web service was designed to help with the core_role_assign_roles (to link a parent to a student) core_role_unassign_roles (to unenroll a student/teacher from a course; to unlink a parent to a student) and core_files_upload web service core functions as they need a context.

Contributors

Francois J (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

コメントを表示する
  • MD shot of me from his iphone4
    2013年 02月 14日(木) 15:00
    Hi,
    Please consider adding a code repository when editing the plugin.

    Also if this is still required for the upcoming 2.5 release in may (after the work done in http://docs.moodle.org/dev/Web_services_Roadmap), perhaps you might wish to open up an MDL to consider this call being included into core.
  • Francois J
    2013年 06月 10日(月) 01:59
    Hi Aparup,
    I can refer to two opened MDL concerning the context need:
    For core_role_assign_roles: https://tracker.moodle.org/browse/MDL-39152
    For core_role_unassign_roles: https://tracker.moodle.org/browse/MDL-39153
  • Francois J
    2014年 02月 25日(火) 06:37
    Hi,
    The issue with the context has been fixed in Moodle 2.6. (See links in previous comment).
    The plugin is still needed for the Moodle integration of RosarioSIS as we cannot rely only upon 2.6.
  • Howard Miller
    2016年 07月 25日(月) 18:26
    I don't think core_files_upload is fixed. That still requires the context (which you can't get)
Please login to post comments