Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Static Public Member Functions | Public Attributes | List of all members
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. More...
 

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: