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.

(no description)

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

Defines 1 class

admin_setting_registeredplatforms:: (6 methods):
  __construct()
  get_setting()
  get_defaultsetting()
  write_setting()
  is_related()
  output_html()


Class: admin_setting_registeredplatforms  - X-Ref

The admin_setting_registeredplatforms class, for rendering a table of platforms which have been registered.

This setting is useful for LTI 1.3 only.

__construct()   X-Ref
Calls parent::__construct with specific arguments


get_setting()   X-Ref
Always returns true, does nothing.

return: bool true.

get_defaultsetting()   X-Ref
Always returns true, does nothing.

return: bool true.

write_setting($data)   X-Ref
Always returns '', does not write anything.

return: string Always returns ''.
param: string|array $data the data

is_related($query)   X-Ref
Checks if $query is one of the available external services

return: bool Returns true if found, false if not
param: string $query The string to search for

output_html($data, $query='')   X-Ref
Builds the HTML to display the table.

return: string
param: string $data Unused
param: string $query