GamificationObserver Class Reference

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:
 All Data Structures Functions Variables
Generated on Tue Jul 25 07:10:25 2017