ap_update_votes_count()

Function: Update qameta votes count

ap_set_selected_answer()

Function: Set selected answer for a question

ap_unset_selected_answer()

Function: Clear selected answer from a question.

ap_update_views_count()

Function: Update views count of qameta.

Answers_Query::pre_fetch()

Method: Pre fetch current users vote on all answers