Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
tool_analytics

Topics

 output
 
 

Namespaces

namespace  tool_analytics
 Helper class that contains helper functions for cli scripts.
 
namespace  tool_analytics\output
 Typical crappy helper class with tiny functions.
 
namespace  tool_analytics\output\form
 Model edit form.
 
namespace  tool_analytics\privacy
 Privacy Subsystem implementation for tool_analytics.
 
namespace  tool_analytics\task
 Predict system models with new data available.
 

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\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 = 2023100400
 
 $tasks
 
$plugin component = 'tool_analytics'
 
$plugin version = 2023100900
 

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:535

◆ $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' => '*'
),
)