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: 87 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

system_report_factory:: (2 methods):
  create()
  get_report_persistent()


Class: system_report_factory  - X-Ref

Factory class for creating system report instances

create(string $source, context $context, string $component = '', string $area = '',int $itemid = 0, array $parameters = [])   X-Ref
Create and return instance of given system report source

return: system_report
param: string $source Class path of system report definition
param: context $context
param: string $component
param: string $area
param: int $itemid
param: array $parameters Simple key/value pairs, accessed inside reports using $this->get_parameter()

get_report_persistent(string $source, context $context, string $component = '', string $area = '',int $itemid = 0)   X-Ref
Given a report source, with accompanying context information, return a persistent report instance

return: report
param: string $source
param: context $context
param: string $component
param: string $area
param: int $itemid