You are here

function Disqus::get_thread_list in Disqus 7

Get a list of threads on a website.

Parameters

$forum_id: the unique id of the forum.

$limit: Number of entries that should be included in the response.

$start: Starting point for the query.

Return value

An array of hashes representing all threads belonging to the given forum.

File

./disqus.php, line 137
Provides the Disqus PHP API.

Class

Disqus
The Disqus PHP API.

Code

function get_thread_list($forum_id, $limit = 25, $start = 0) {
  return $this
    ->call('get_thread_list', array(
    'forum_id' => $forum_id,
    'limit' => $limit,
    'start' => 0,
  ));
}