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

Files

file  access.php
 Recent activity block caps.
 
file  block_recent_activity.php
 class block_recent_activity
 
file  cleanup.php
 Task for updating RSS feeds for rss client block.
 
file  events.php
 Event observer.
 
file  observer.php
 Event observer.
 
file  provider.php
 Privacy subsystem implementation for block_recent_activity.
 
file  renderer.php
 Renderer for block recent_activity.
 
file  tasks.php
 Task definition for block_recent_activity.
 
file  upgrade.php
 This file keeps track of upgrades to the recent activity block.
 
file  version.php
 Version details.
 

Namespaces

namespace  block_recent_activity\privacy
  
 
namespace  block_recent_activity\task
  
 

Classes

class  block_recent_activity
 class block_recent_activity More...
 
class  block_recent_activity\privacy\provider
 The block_recent_activity does not keep any data for more than COURSE_MAX_RECENT_PERIOD. More...
 
class  block_recent_activity\task\cleanup
 Task for updating RSS feeds for rss client block. More...
 
class  block_recent_activity_observer
 Event observer. More...
 
class  block_recent_activity_renderer
 recent_activity block rendrer More...
 

Functions

 xmldb_block_recent_activity_upgrade ($oldversion, $block)
 Upgrade code for the recent activity block. More...
 

Variables

 $capabilities
 
 $observers
 
 $plugin = 2020060900
 
 $tasks
 
$plugin component = 'block_recent_activity'
 
$plugin version = 2020061500
 

Detailed Description

Function Documentation

◆ xmldb_block_recent_activity_upgrade()

xmldb_block_recent_activity_upgrade (   $oldversion,
  $block 
)

Upgrade code for the recent activity block.

Parameters
int$oldversion
object$block

Variable Documentation

◆ $observers

$observers
Initial value:
= array (
array (
'eventname' => '\core\event\course_module_created',
'callback' => 'block_recent_activity_observer::store',
'internal' => false,
'priority' => 1000,
),
array (
'eventname' => '\core\event\course_module_updated',
'callback' => 'block_recent_activity_observer::store',
'internal' => false,
'priority' => 1000,
),
array (
'eventname' => '\core\event\course_module_deleted',
'callback' => 'block_recent_activity_observer::store',
'internal' => false,
'priority' => 1000,
),
)

◆ $tasks

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