WebUserAfterLoginGamificationBehavior Class Reference

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:
 All Data Structures Functions Variables
Generated on Mon May 22 07:10:31 2017