ForumViewerUnaprovedPosts Method |
Returns string with information about unapproved posts.
Namespace: CMS.Forums.Web.UIAssembly: CMS.Forums.Web.UI (in CMS.Forums.Web.UI.dll) Version: 11.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