Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.4.1, 3.5
-
Fix Version/s: 3.5
-
Component/s: Web Services
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_34_STABLE, MOODLE_35_STABLE
-
Fixed Branches:MOODLE_35_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-61449-master -
Pull Master Diff URL:
Description
In order to support "site add-ons" we'd need a new WS to return pieces of content that will displayed in the app, see MDL-60774 for more information and the specification is here: https://docs.google.com/document/d/1VnmhyJFhbnsfDJwjHYQy9yOzkbNsfsXD5kuSns9V3K4/edit#
Initially, we were planning to use the existing core_get_fragment function but it is not suitable because:
- It forces the render of the header before the callback is called (so any further context validation is not possible).
- It returns javascript mixed with the header libraries
- Does not allow to return structured data.
- It is not part of the mobile service (so the local_mobile plugin we'll be needed)
- Does not use auto-loading (callbacks go to lib.php)
Attachments
Issue Links
- is blocked by
-
MDL-60774 Mobile app support for plugins
-
- Closed
-