ForumHolder::getRecentPosts
Get the latest posts
Signature
public function getRecentPosts([integer
$limit = 50,
[int
$forumID = NULL,
[int
$threadID = NULL,
[int
$lastVisit = NULL,
[int
$lastPostID = NULL]]]]] )
Parameters
$limit
— integer- Number of posts to return
$forumID
— int- - Forum ID to limit it to
$threadID
— int- - Thread ID to limit it to
$lastVisit
— int- Optional: Unix timestamp of the last visit (GMT)
$lastPostID
— int- Optional: ID of the last read post