Prototype Comment |
|
Actions |
comment_action comment action |
delete_action delete action |
edit_action edit action |
main_action main action |
Functions |
checkAccess(action, usr, level) permission check (called by hopobject.onRequest()) |
checkEdit(usr, level) check if user is allowed to edit a comment |
constructor(site, creator, ipaddress) constructor function for comment objects |
updateComment(param) function evaluates changes to posting |
Macros |
Comment.replylink macro renders a link to reply to a comment |
Comment.url macro renders the url of this comment |
Skins |
edit.skin response.action |
reply.skin |
toplevel.skin |
type.properties |
_extends = story _parent = story.comments ## ## collections ## _children = collection(Comment) _children.local = TEXT_ID _children.foreign = TEXT_F_TEXT_PARENT _children.order = TEXT_CREATETIME ASC _children.cachemode = aggressive |