Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
ltiservice_gradebookservices

Namespaces

namespace  ltiservice_gradebookservices\local\resources
  
 
namespace  ltiservice_gradebookservices\local\service
  
 
namespace  ltiservice_gradebookservices\privacy
  
 
namespace  ltiservice_gradebookservices\task
  
 

Classes

class  backup_ltiservice_gradebookservices_subplugin
 Provides the information to backup gradebookservices lineitems. More...
 
class  ltiservice_gradebookservices\local\resources\lineitem
 A resource implementing LineItem. More...
 
class  ltiservice_gradebookservices\local\resources\lineitems
 A resource implementing LineItem container. More...
 
class  ltiservice_gradebookservices\local\resources\results
 A resource implementing LISResult container. More...
 
class  ltiservice_gradebookservices\local\resources\scores
 A resource implementing LISResult container. More...
 
class  ltiservice_gradebookservices\local\service\gradebookservices
 A service implementing LTI Gradebook Services. More...
 
class  ltiservice_gradebookservices\privacy\provider
 Privacy Subsystem for ltiservice_gradebookservices. More...
 
class  ltiservice_gradebookservices\task\cleanup_task
 Class containing the scheduled task for gradebookservices. More...
 
class  restore_ltiservice_gradebookservices_subplugin
 Restore subplugin class. More...
 

Functions

 xmldb_ltiservice_gradebookservices_upgrade ($oldversion)
 xmldb_ltiservice_gradebookservices_upgrade is the function that upgrades the gradebook lti service subplugin database when is needed.
 

Variables

global $CFG
 
global $CFG
 
global ltiservice_gradebookservices\local\service::$CFG
 
 $plugin = 2024041600
 
 $tasks
 
$plugin component = 'ltiservice_gradebookservices'
 
$plugin version = 2024042200
 

Detailed Description

Function Documentation

◆ xmldb_ltiservice_gradebookservices_upgrade()

xmldb_ltiservice_gradebookservices_upgrade ( $oldversion)

xmldb_ltiservice_gradebookservices_upgrade is the function that upgrades the gradebook lti service subplugin database when is needed.

This function is automatically called when version number in version.php changes.

Parameters
int$oldversionNew old version number.
Return values
boolean

Variable Documentation

◆ $tasks

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