Get a page of posts in a topic
Namespace:
SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Parameters
- topic_id
-
Type: EntityID
the id of the topic
- page
-
Type: int
the page number to retrieve
- max_per_page
-
Type: int
the maximum number of posts per page
- as_html
-
Type: bool
do we want to convert each post body to html?
- db
-
Type: IDatabase
the db to use
Return Value
Type: List<ForumPost>the list of posts