ForumPostInfoProviderGetCompleteWhere Method |
Creates complete where condition from parameters.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 8.2.23
Syntax 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:
StringSee Also