getComments
Syntax | getComment(pageId) | Package | |
Alias | Pkg Usage |
Description
Returns comments for a given page.
Return Type
Returns an array of comments for the selected page.
Example
CComment [] allComm = getComments(11801);
for(CComment comm in allComm) {
deleteComment(comm.id)
}Deletes all comments from the page.
