Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
tool_licensemanager\output\table Class Reference

Renderable for display of license manager table. More...

Inheritance diagram for tool_licensemanager\output\table:
renderable

Public Member Functions

 create_license_link ()
 'Create License' link.
 
 create_license_manager_table (array $licenses, renderer_base $output)
 Create the HTML table for license management.
 

Protected Member Functions

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

Detailed Description

Renderable for display of license manager table.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ create_license_link()

tool_licensemanager\output\table::create_license_link ( )

'Create License' link.

Return values
stringHTML string.

◆ create_license_manager_table()

tool_licensemanager\output\table::create_license_manager_table ( array $licenses,
renderer_base $output )

Create the HTML table for license management.

Parameters
array$licenses
renderer_base$output
Return values
stringHTML for license manager table.

◆ get_license_table_row_data()

tool_licensemanager\output\table::get_license_table_row_data ( $license,
bool $canmoveup,
bool $canmovedown,
renderer_base $output )
protected

Get table row data for a license.

Parameters
object$licensethe license to populate row data for.
bool$canmoveupcan this row move up.
bool$canmovedowncan this row move down.
renderer_base$outputthe renderer
Return values
html_table_rowof columns values for row.

The documentation for this class was generated from the following file: