Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402]

Fixtures for task tests.

Copyright: 2014 Petr Skoda
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 143 lines (3 kb)
Included or required: 5 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 classes

adhoc_test_task:: (3 methods):
  __construct()
  get_name()
  execute()

adhoc_test2_task:: (0 methods):

adhoc_test3_task:: (0 methods):

adhoc_test4_task:: (0 methods):

adhoc_test5_task:: (0 methods):

scheduled_test_task:: (2 methods):
  get_name()
  execute()

scheduled_test2_task:: (2 methods):
  get_name()
  execute()

scheduled_test3_task:: (2 methods):
  get_name()
  execute()

adhoc_component_task:: (1 method):
  execute()


Class: adhoc_test_task  - X-Ref

Test class.

__construct(?int $nextruntime = null, ?int $timestarted = null)   X-Ref
Constructor.

param: int|null $nextruntime Next run time
param: int|null $timestarted Time started

get_name()   X-Ref
Get task name

return: string

execute()   X-Ref
Execute.


Class: adhoc_test2_task  - X-Ref

Test class.

Class: adhoc_test3_task  - X-Ref

Test class.

Class: adhoc_test4_task  - X-Ref

Test class.

Class: adhoc_test5_task  - X-Ref

Test class.

Class: scheduled_test_task  - X-Ref

get_name()   X-Ref
No description

execute()   X-Ref
No description

Class: scheduled_test2_task  - X-Ref

get_name()   X-Ref
No description

execute()   X-Ref
No description

Class: scheduled_test3_task  - X-Ref

get_name()   X-Ref
No description

execute()   X-Ref
No description

Class: adhoc_component_task  - X-Ref

execute()   X-Ref
No description