Get all topics in a category

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function GetTopics( _ 
ByVal category_id As EntityID, _ 
ByVal user_id As EntityID, _ 
ByVal page As Integer, _ 
ByVal max_per_page As Integer, _ 
ByVal db As IDatabase
) As List(Of ForumTopic)
This language is not supported or no code example is available.
public static List<ForumTopic> GetTopics( 
EntityID category_id
EntityID user_id
int page
int max_per_page
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static List<ForumTopic^>^ GetTopics( 
EntityID^ category_id
EntityID^ user_id
int page
int max_per_page
IDatabase^ db 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

category_id
Type: EntityID

the id of the category

user_id
Type: EntityID

the user making the request

page
Type: int

the page number we want

max_per_page
Type: int

the maximum number of items per page

db
Type: IDatabase

the db connection to use

Return Value

Type: List<ForumTopic>

the list of forum topics

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1