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.

(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.

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

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

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

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

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