Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Member Functions | List of all members
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. More...
 
 create_license_manager_table (array $licenses, renderer_base $output)
 Create the HTML table for license management. More...
 

Protected Member Functions

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

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: