Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 400 and 401] [Versions 400 and 402] [Versions 400 and 403]

(no description)

File Size: 126 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

activity_header_test:: (4 methods):
  test_set_title()
  set_title_provider()
  test_set_attrs()
  test_set_attrs_invalid_variable()

member:: (0 methods):


Class: activity_header_test  - X-Ref

Unit tests for activity header

test_set_title(string $value, string $expected)   X-Ref
Test the title setter

param: string $value
param: string $expected

set_title_provider()   X-Ref
Provider for the test_set_title unit test.

return: array

test_set_attrs()   X-Ref
Test setting multiple attributes


test_set_attrs_invalid_variable()   X-Ref
Test calling set_attrs with an invalid variable name


Class: member  - X-Ref