Click or drag to resize
ForumPostInfoProviderGetCompleteWhere Method
Creates complete where condition from parameters.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 12.0.0
Syntax
C#
public static string GetCompleteWhere(
	int forumId,
	string path,
	string where,
	int maxRelativeLevel,
	bool selectOnlyApproved
)

Parameters

forumId
Type: SystemInt32
Forum ID
path
Type: SystemString
Posts path
where
Type: SystemString
Where condition
maxRelativeLevel
Type: SystemInt32
Maximal relative level
selectOnlyApproved
Type: SystemBoolean
Select only approved posts

Return Value

Type: String
See Also