Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Files | Namespaces | Classes | Variables
tool_analytics

Files

file  clihelper.php
 Helper class that contains helper functions for cli scripts.
 
file  edit_model.php
 Model edit form.
 
file  external.php
 This is the external API for this component.
 
file  helper.php
 Typical crappy helper class with tiny functions.
 
file  import_model.php
 Model upload form.
 
file  insights_report.php
 Insights report renderable.
 
file  invalid_analysables.php
 Invalid analysables renderable.
 
file  model_logs.php
 Model logs table class.
 
file  models_list.php
 Prediction models list page.
 
file  predict_models.php
 Predict system models with new data available.
 
file  provider.php
 Privacy Subsystem implementation for tool_analytics.
 
file  renderer.php
 Renderer.
 
file  restorable_models.php
 Provides tool_analytics::output::restorable_models class.
 
file  services.php
 Tool analytics webservice definitions.
 
file  settings.php
 Adds settings links to admin tree.
 
file  tasks.php
 This file defines tasks performed by the tool.
 
file  train_models.php
 Train system models with new data available.
 
file  version.php
 Version details.
 

Namespaces

namespace  tool_analytics
  
 
namespace  tool_analytics\output
  
 
namespace  tool_analytics\output\form
  
 
namespace  tool_analytics\privacy
  
 
namespace  tool_analytics\task
  
 

Classes

class  tool_analytics\clihelper
 Helper class that contains helper functions for cli scripts. More...
 
class  tool_analytics\external
 This is the external API for this component. More...
 
class  tool_analytics\output\form\edit_model
 Model edit form. More...
 
class  tool_analytics\output\form\import_model
 Model upload form. More...
 
class  tool_analytics\output\helper
 Helper class with general purpose tiny functions. More...
 
class  tool_analytics\output\insights_report
 Insights report renderable. More...
 
class  tool_analytics\output\invalid_analysables
 Invalid analysables renderable. More...
 
class  tool_analytics\output\model_logs
 Model logs table class. More...
 
class  tool_analytics\output\models_list
 Shows tool_analytics models list. More...
 
class  tool_analytics\output\renderer
 Renderer class. More...
 
class  tool_analytics\output\restorable_models
 Represents the list of default models that can be eventually restored. More...
 
class  tool_analytics\privacy\provider
 Privacy Subsystem for tool_analytics implementing null_provider. More...
 
class  tool_analytics\task\predict_models
 Predict system models with new data available. More...
 
class  tool_analytics\task\train_models
 Train system models with new data available. More...
 

Variables

 $functions
 
 $plugin = 2020060900
 
 $tasks
 
$plugin component = 'tool_analytics'
 
$plugin version = 2020061500
 

Detailed Description

Variable Documentation

◆ $functions

$functions
Initial value:
= array(
'tool_analytics_potential_contexts' => array(
'classname' => 'tool_analytics\external',
'methodname' => 'potential_contexts',
'description' => 'Retrieve the list of potential contexts for a model.',
'type' => 'read',
'ajax' => true,
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
),
)
const MOODLE_OFFICIAL_MOBILE_SERVICE
Moodle mobile app service name.
Definition: moodlelib.php:501

◆ $tasks

$tasks
Initial value:
= array(
array(
'classname' => 'tool_analytics\task\train_models',
'blocking' => 0,
'minute' => '0',
'hour' => 'R',
'day' => '*',
'dayofweek' => '*',
'month' => '*'
),
array(
'classname' => 'tool_analytics\task\predict_models',
'blocking' => 0,
'minute' => '0',
'hour' => 'R',
'day' => '*',
'dayofweek' => '*',
'month' => '*'
),
)