Class Comment
Extends
Story.
Defined in: Comment.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Comment(parent)
|
Field Attributes | Field Name and Description |
---|---|
<private> | |
<static> |
Comment.getStatus
|
- Fields borrowed from class Story:
- commentMode, comments, created, creator, metadata, mode, modified, modifier, parent_id, parent_type, prototype, requests, site, status, tags, text, title
Method Attributes | Method Name and Description |
---|---|
getMacroHandler(name)
|
|
getPermission(action)
|
|
href(action)
|
|
link_macro(param, action, text)
|
|
<static> |
Comment.remove(options)
|
update(data)
|
- Methods borrowed from class Story:
- comments_macro, count, format_filter, getDelta, getFormOptions, getFormValue, getTitle, isCustomContent, macro_filter, referrers_macro, setCustomContent, summary_macro, tags_macro, url_filter
- Methods borrowed from class HopObject:
- addTag, checkbox_macro, created_macro, deleteMetadata, getMetadata, getTags, handleMetadata, input_macro, kind_macro, link_filter, log, macro_macro, map, metadata_macro, modified_macro, notify, onRequest, radiobutton_macro, removeTag, select_macro, self_macro, setMetadata, setTags, skin_macro, textarea_macro, toString, touch, type_macro, upload_macro
Field Detail
<private>
{Comment[]}
_children
<static>
Comment.getStatus
- See:
- defineConstants
{String}
name
{Story}
story
Method Detail
creator_macro()
{String}
getConfirmText()
- Returns:
- {String}
{HopObject}
getMacroHandler(name)
- Parameters:
- {String} name
- Returns:
- {HopObject}
{Boolean}
getPermission(action)
- Parameters:
- {Object} action
- Returns:
- {Boolean}
{String}
href(action)
- Parameters:
- {Object} action
- Returns:
- {String}
link_macro(param, action, text)
- Parameters:
- {Object} param
- {Object} action
- {Object} text
modifier_macro()
<static>
{String}
Comment.remove(options)
- Parameters:
- options
- Returns:
- {String}
text_macro()
update(data)
- Parameters:
- {Object} data