Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

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