(no description)
File Size: | 117 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
stateactions:: (2 methods):
section_highlight()
section_unhighlight()
Class: stateactions - X-Ref
Contains the core course state actions specific to topics format.section_highlight(stateupdates $updates,stdClass $course,array $ids = [],?int $targetsectionid = null,?int $targetcmid = null) X-Ref |
Highlight course section. param: stateupdates $updates the affected course elements track param: stdClass $course the course object param: int[] $ids section ids (only ther first one will be highlighted) param: int $targetsectionid not used param: int $targetcmid not used |
section_unhighlight(stateupdates $updates,stdClass $course,array $ids = [],?int $targetsectionid = null,?int $targetcmid = null) X-Ref |
Remove highlight from a course sections. param: stateupdates $updates the affected course elements track param: stdClass $course the course object param: int[] $ids optional extra section ids to refresh param: int $targetsectionid not used param: int $targetcmid not used |