Functions

Function Description
approve Approves this post.
highlight Highlights this post.
remove Removes this post.
report Reports/flags this post.
restore Restores this post.
spam Marks this post as spam.
unhighlight Unhighlights this post.
vote Causes the authenticated user to vote on a post.

approve

Approves this post.
Authenticated user must be a moderator of the forum this post is on.

Return Value: true if successful.

approve()

highlight

Highlights this post.
Authenticated user must be a moderator of the forum this post is on.

Return Value: true if successful.

highlight()

remove

Removes this post.
Authenticated user must be a moderator of the forum this post is on.

Return Value: true if successful.

remove()

report

Reports/flags this post.

Return Value: true if successful.

report()

restore

Restores this post.
Authenticated user must be a moderator of the forum this post is on.

Return Value: true if successful.

restore()

spam

Marks this post as spam.
Authenticated user must be a moderator of the forum this post is on.

Return Value: true if successful.

spam()

unhighlight

Unhighlights this post.
Authenticated user must be a moderator of the forum this post is on.

Return Value: true if successful.

unhighlight()

vote

Causes the authenticated user to vote on a post.

Return Value: true if successful.

vote($vote)
Parameter Description
$vote Vote to cast (-1, 0, or 1)