Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
block_recent_activity_observer Class Reference

Event observer. More...

Static Public Member Functions

static store (\core\event\base $event)
 Store all actions about modules create/update/delete in own table.
 

Public Attributes

int const CM_CREATED = 0
 indicates that course module was created
 
int const CM_DELETED = 2
 indicates that course module was deleted
 
int const CM_UPDATED = 1
 indicates that course module was udpated
 

Detailed Description

Event observer.

Stores all actions about modules create/update/delete in plugin own's table. This allows the block to avoid expensive queries to the log table.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ store()

static block_recent_activity_observer::store ( \core\event\base $event)
static

Store all actions about modules create/update/delete in own table.

Parameters
core\event\base$event

The documentation for this class was generated from the following file: