Function: Update total flagged question and answer count.
Function: Add flag vote data to ap_votes table.
Function: Check if user already flagged a post.
Function: Flag button html.
Function: Delete multiple posts flags.
Method: Ajax callback to process post flag button
Function: Return total flagged post count.
Function: Count flag votes.
Class: All flag methods.