Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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 = 2024041600
 
 $temp
 
$plugin component = 'tool_templatelibrary'
 
$plugin version = 2024042200
 

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:1221
Class for creating and manipulating urls.
Definition weblib.php:263