class CKarma


Located at : UKNOWVA_ROOT/components/com_community/libraries/karma.php

Methods

getKarmaImage(user $user)

return the path to karma image

assignPoint($action, $userId = null)

add points to user based on the action.

getActionPoint($action, $gid)

Return points for various actions. Return value should be configurable from the backend

Details

at line 17
getKarmaImage(user $user)

return the path to karma image

Parameters

user $user CUser object

at line 111
assignPoint($action, $userId = null)

add points to user based on the action.

Parameters

$action
$userId

at line 128
getActionPoint($action, $gid)

Return points for various actions. Return value should be configurable from the backend

Parameters

$action
$gid