GamificationObserver Class Reference
Public Member Functions
| ||init ()|
||$enabled = true|
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
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: