#1115 - Allow minimodules and miniblocks to return Tempcode

Identifier #1115
Issue type Feature request or suggestion
Title Allow minimodules and miniblocks to return Tempcode
Status Completed
Handling member Chris Graham
Addon core
Description The programmer may be used to returning Tempcode, rather than outputting themselves.

Edit the 'load_minimodule_page' (and equiv block function) to take a result from 'require_code'. It should then be sent back in exact preserved Tempcode form, unless the outbut buffer is not empty, in which case the output buffer should be appended.

Edit 'require_code' to return the result of eval/include (so the function returns mixed.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated