Calculates someones BMI from LENGTH and WEIGHT.

package Gems
subpackage Events
copyright Copyright (c) 2011 Erasmus MC
license New BSD License
since Class available since version 1.4

 Methods

A pretty name for use in dropdown selection boxes.

getEventName() : string

Returns

stringName

Process the data and return the answers that should be changed.

processTokenData(\Gems_Tracker_Token $token) : array

Storing the changed values is handled by the calling function.

inherited_from \Gems_Event_SurveyCompletedEventInterface::processTokenData()

Parameters

$token

\Gems_Tracker_Token

Gems token object

Returns

arrayContaining the changed values