commentCount
根據參數提取評論數量統計。
參數 | 說明 |
siteid | 站點id |
objtype | 評論對象類型 |
objid | 評論對象id |
membername | 會員名稱 |
isanonymous | 是否匿名 1是 0否 |
state | 審覈狀態 空字符串表示所有(默認) 1已審覈 0未審覈 |
cache | 是否使用緩存,默認爲false |
返回值 | 說明 |
commentnum | 評論統計數量,類型爲int |
示例1
<@commentCount objtype="info" objid="${currInfo.id}" ;commentnum>
${commentnum!0}
</@commentCount>