API functions

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

File

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

Functions

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.

Classes

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