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.

Differences Between: [Versions 401 and 403]

Renderable for display of license manager table.

Copyright: 2020 Tom Dickman <tomdickman@catalyst-au.net>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 185 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: table  - X-Ref

Renderable for display of license manager table.

create_license_link()   X-Ref
'Create License' link.

return: string HTML string.

create_license_manager_table(array $licenses, \renderer_base $output)   X-Ref
Create the HTML table for license management.

param: array $licenses
param: \renderer_base $output
return: string HTML for license manager table.

get_license_table_row_data($license, bool $canmoveup, bool $canmovedown, \renderer_base $output)   X-Ref
Get table row data for a license.

param: object $license the license to populate row data for.
param: bool $canmoveup can this row move up.
param: bool $canmovedown can this row move down.
param: \renderer_base $output the renderer
return: \html_table_row of columns values for row.