All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions
WebUserAfterLoginGamificationBehavior Class Reference
Inheritance diagram for WebUserAfterLoginGamificationBehavior:

Public Member Functions

 attach ($owner)
 
 handleScoreLogin ($event)
 

Static Public Member Functions

static resolveSaveGameScoreAndAddPointsByCategory ($gameScore, $category)
 

Detailed Description

Attaches events to the WebUser as needed for gamification.

Definition at line 40 of file WebUserAfterLoginGamificationBehavior.php.

Member Function Documentation

handleScoreLogin (   $event)

The login of a user is a scored game event. This method processes this.

Parameters
CEvent$event

Definition at line 51 of file WebUserAfterLoginGamificationBehavior.php.

static resolveSaveGameScoreAndAddPointsByCategory (   $gameScore,
  $category 
)
static
Parameters
$gameScore
string$category
Exceptions
FailedToSaveModelException

Definition at line 88 of file WebUserAfterLoginGamificationBehavior.php.


The documentation for this class was generated from the following file:
Generated on Fri Jan 24 2020 07:10:46