(no description)
File Size: | 92 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
custom_completion:: (5 methods):
get_state()
get_defined_custom_rules()
get_custom_rule_descriptions()
manual_completion_always_shown()
get_sort_order()
Class: custom_completion - X-Ref
Activity custom completion subclass for the resource.get_state(string $rule) X-Ref |
Fetches the completion state for a given completion rule. param: string $rule The completion rule. return: int The completion state. |
get_defined_custom_rules() X-Ref |
Fetch the list of custom completion rules that this module defines. return: array |
get_custom_rule_descriptions() X-Ref |
Returns an associative array of the descriptions of custom completion rules. return: array |
manual_completion_always_shown() X-Ref |
Show the manual completion or not regardless of the course's showcompletionconditions setting. return: bool |
get_sort_order() X-Ref |
Returns an array of all completion rules, in the order they should be displayed to users. return: array |