Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
tool_analytics

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