-
Improvement
-
Resolution: Fixed
-
Minor
-
2.7
-
MOODLE_27_STABLE
-
MOODLE_28_STABLE
-
There are several places in our renderers where we have things that should only be output once. E.g. the contents on the mod chooser, when editin a course.
At the moment, these are typically tracked using static variables, but that does not work becuase in some cases (e.g. unit tests) we may need to reset this within one script. It should be tracked per page.
The place we track othre things like this is in page_requirements_manager. I am going to add an API there.