Same as calling ssi_topTopics with a type parameter of 'replies'.


array ssi_topTopicsReplies ([int $num_recent[, string $output_method]])

Parameter $num_recent

Expected type: Integer
Description: How many topics to fetch. Default is 10

Parameter $output_method

Expected type: String
Description: If set to 'echo', the function outputs pre-formatted results. Otherwise the function will return an array of arrays. Default is 'echo'.

Return value

Expected type: Array
Description: Same as for ssi_topTopics. Outputs pre-formatted results if output_method is echo or returns an array if it isn't. Also returns an empty array if there's nothing to show.

Array Elements
Key Optional Expected type Description
href no String The URL to the topic
id no Integer The topic ID
link no String A link to the topic
num_replies no Integer How many times this topic has been replied to
num_views no Integer How many times this topic has been viewed
subject no String The subject of the topic


  • ssi_topTopicsReplies($num_recent, $output_method) is the same as ssi_topTopics('replies', $num_recent, $output_method).
View all versions of this function