Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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 = 2023041800
 
 $temp
 
$plugin component = 'tool_templatelibrary'
 
$plugin version = 2023042400
 

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:
'tooltemplatelibrary',
get_string('pluginname', 'tool_templatelibrary'),
new moodle_url('/admin/tool/templatelibrary/index.php')
)
Links external PHP pages into the admin tree.
Definition adminlib.php:1220
Class for creating and manipulating urls.
Definition weblib.php:261