API functions

The function userpoints_grant_points() allows to grant a number of points, positive or negative, to a user.


./userpoints.api.php, line 17
API documentation for userpoints.module


Namesort descending Location Description
userpoints_get_categories ./userpoints.module Returns an array of possible categories, suitable for inclusion in FAPI.
userpoints_get_current_points ./userpoints.module Get current points of a user.
userpoints_get_max_points ./userpoints.module Gets the number of maximal points of that user.
userpoints_grant_points ./userpoints.module Grant a user points.


Namesort descending Location Description
UserpointsTransaction ./userpoints.transaction.inc A Userpoints transaction.