Community Documentation

VotingAPI: Full control for complex voting modules

Last updated September 20, 2006. Created by eaton on June 13, 2006.
Edited by webchick. Log in to edit this page.

(stub article)

Documentation for the fine-grain control functions that VotingAPI uses.

votingapi_add_vote($content_type, $content_id, $value, $value_type = VOTINGAPI_VALUE_DEFAULT_TYPE, $tag = VOTINGAPI_VALUE_DEFAULT_TAG, $uid = NULL)

votingapi_change_vote($vobj, $value)

votingapi_delete_vote($vobj)

votingapi_delete_votes($votes = array())

votingapi_recalculate_results($content_type, $content_id)

votingapi_get_user_votes($content_type, $content_id, $uid = NULL)

votingapi_get_content_votes($content_type, $content_id)

nobody click here