All Data Structures Functions Variables Pages
Public Member Functions | Data Fields
GamificationObserver Class Reference
Inheritance diagram for GamificationObserver:

Public Member Functions

 init ()

Data Fields

 $enabled = true

Detailed Description

Helps manage observation events on various classes. Inspects modules for their primary model and detects if a gamificationRuleType is present. If it is then it will attempt to add scoring events for the model as defined by the gamificationRule class.

Definition at line 42 of file GamificationObserver.php.

Member Function Documentation

init ( )

Initialize the observer if gamification is enabled. Attachs scoring events to model classes as needed.

Definition at line 49 of file GamificationObserver.php.

The documentation for this class was generated from the following file:
Generated on Tue Jun 2 2020 07:10:47