Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
tool_templatelibrary

Namespaces

namespace  tool_templatelibrary
  
 
namespace  tool_templatelibrary\output
  
 
namespace  tool_templatelibrary\privacy
  
 

Classes

class  tool_templatelibrary\api
 API exposed by tool_templatelibrary. More...
 
class  tool_templatelibrary\output\list_templates_page
 Class containing data for list_templates page. More...
 
class  tool_templatelibrary\output\renderer
 Renderer class for template library. More...
 
class  tool_templatelibrary\privacy\provider
 Privacy Subsystem for tool_templatelibrary implementing null_provider. More...
 

Variables

 $functions
 
 $plugin = 2025040800
 
 $temp
 
$plugin component = 'tool_templatelibrary'
 
$plugin version = 2025041400
 

Detailed Description

Variable Documentation

◆ $functions

$functions
Initial value:
= array(
'tool_templatelibrary_list_templates' => array(
'classname' => 'tool_templatelibrary\external',
'methodname' => 'list_templates',
'classpath' => '',
'description' => 'List/search templates by component.',
'type' => 'read',
'capabilities'=> '',
'ajax' => true,
'loginrequired' => false,
),
'tool_templatelibrary_load_canonical_template' => array(
'classname' => 'tool_templatelibrary\external',
'methodname' => 'load_canonical_template',
'description' => 'Load a canonical template by name (not the theme overidden one).',
'type' => 'read',
'ajax' => true,
'loginrequired' => false,
),
)

◆ $temp

$temp
Initial value:
= new admin_externalpage(
'tooltemplatelibrary',
get_string('pluginname', 'tool_templatelibrary'),
new moodle_url('/admin/tool/templatelibrary/index.php')
)