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.

Class for exporting summary information for a course category.

Copyright: 2017 Andrew Nicols <andrew@nicols.co.uk>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 133 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

coursecat_summary_exporter:: (6 methods):
  __construct()
  define_related()
  define_other_properties()
  get_other_values()
  define_properties()
  get_format_parameters_for_description()


Class: coursecat_summary_exporter  - X-Ref

Class for exporting a course summary from an stdClass.

__construct(\core_course_category $category, $related)   X-Ref


define_related()   X-Ref
No description

define_other_properties()   X-Ref
No description

get_other_values(renderer_base $output)   X-Ref
No description

define_properties()   X-Ref
No description

get_format_parameters_for_description()   X-Ref
Get the formatting parameters for the summary.

return: array