Functions

Function Description
close Closes this thread.
getPosts Returns a result set of posts in this thread.
open Opens this thread.
remove Removes this thread.
restore Restores this thread.
subscribe Subscribes the authenticated user to this thread.
unsubscribe Unsubscribes the authenticated user to this thread.
vote CAuses the authenticated user to set a vote on this thread.

close

Closes this thread.
Authenticated user must be a moderator of this thread's forum.

close()

getPosts

Returns a result set of posts in this thread.

Return Value: A BigTreeDisqusResultSet of BigTreeDisqusPost objects.

getPosts($limit, $order, $params)
Parameter Description
$limit Number of results per page (default is 25, max is 100)
$order Sort order (asc or desc, defaults to desc)
$params Additional parameters to send to threads/listPosts API call

open

Opens this thread.
Authenticated user must be a moderator of this thread's forum.

open()

remove

Removes this thread.
Authenticated user must be a moderator of this thread's forum.

remove()

restore

Restores this thread.
Authenticated user must be a moderator of this thread's forum.

restore()

subscribe

Subscribes the authenticated user to this thread.

subscribe($email = false)
Parameter Description
$email Email address to use for subscription (optional)

unsubscribe

Unsubscribes the authenticated user to this thread.

unsubscribe($email = false)
Parameter Description
$email Email address used for subscription (optional)

vote

CAuses the authenticated user to set a vote on this thread.

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