Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Variables
tool_templatelibrary

Files

file  api.php
 Class for listing mustache templates.
 
file  external.php
 This is the external API for this tool.
 
file  list_templates_page.php
 Class containing data for list_templates page.
 
file  provider.php
 Privacy Subsystem implementation for tool_templatelibrary.
 
file  renderer.php
 Renderer class for template library.
 
file  services.php
 Template library webservice definitions.
 
file  settings.php
 Links and settings.
 
file  version.php
 Plugin version info.
 

Namespaces

 tool_templatelibrary
  
 
 tool_templatelibrary\output
  
 
 tool_templatelibrary\privacy
  
 

Classes

class  tool_templatelibrary\api
 API exposed by tool_templatelibrary. More...
 
class  tool_templatelibrary\external
 This is the external API for this tool. 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
 
 $temp
 
$plugin component = 'tool_templatelibrary'
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

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')
)
moodle_url
Class for creating and manipulating urls.
Definition: weblib.php:255
admin_externalpage
Links external PHP pages into the admin tree.
Definition: adminlib.php:1192