(no description)
File Size: | 110 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
phase_automatically_switched:: (7 methods):
init()
get_description()
get_name()
get_url()
validate_data()
get_objectid_mapping()
get_other_mapping()
Class: phase_automatically_switched - X-Ref
This event is triggered when a phase is automatically switched, usually from cron_task.init() X-Ref |
Init method. return: void |
get_description() X-Ref |
Returns description of what happened. return: string |
get_name() X-Ref |
Return localised event name. return: string |
get_url() X-Ref |
Get URL related to the action. return: \moodle_url |
validate_data() X-Ref |
Custom validation. return: void |
get_objectid_mapping() X-Ref |
Map the objectid information in order to restore the event accurately. In this event objectid is the workshop id. return: array |
get_other_mapping() X-Ref |
No need to map the 'other' field as it only stores phases and they don't need to be mapped. return: bool |