ForumViewerUnaprovedPosts Method |
Returns string with information about unapproved posts.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 9.0.0
Syntax public string UnaprovedPosts(
Object data,
string formatString,
bool hideForEmpty
)
Parameters
- data
- Type: SystemObject
Data item - formatString
- Type: SystemString
Sets the formating string whih should be used to diplay message. Use macro {0} for number of unapproved posts - hideForEmpty
- Type: SystemBoolean
Indicates whether text should be empty if current forum does not contain unapproved posts
Return Value
Type:
StringSee Also