Class Story
Extends
HopObject.
Defined in: Story.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Story()
|
Field Attributes | Field Name and Description |
---|---|
<private> | |
Method Attributes | Method Name and Description |
---|---|
comments_macro(param, mode)
|
|
count()
Increment the request counter
|
|
format_filter(value, param, mode)
|
|
<static> |
Story.getCommentModes()
|
getDelta(data)
Calculate the difference of a story’s current and its updated content
|
|
getFormOptions(name)
|
|
getFormValue(name)
|
|
getMacroHandler(name)
|
|
<static> |
Story.getModes()
|
getPermission(action)
|
|
<static> |
Story.getStatus()
|
getTitle(limit)
|
|
isMetadata(name)
|
|
link_macro(param, action, text)
|
|
macro_filter(value, param)
|
|
referrers_macro(param, limit)
|
|
<static> |
Story.remove()
|
setMetadata(data)
|
|
summary_macro(param)
|
|
tags_macro(param, mode)
|
|
update(data)
|
|
url_filter(value, param, mode)
|
- Methods borrowed from class HopObject:
- addTag, checkbox_macro, created_macro, creator_macro, getTags, handleMetadata, input_macro, kind_macro, link_filter, log, macro_macro, map, modified_macro, modifier_macro, notify, onRequest, radiobutton_macro, removeTag, select_macro, self_macro, setTags, skin_macro, textarea_macro, toString, touch, type_macro, upload_macro
Field Detail
<private>
{Comment[]}
_children
{String}
commentMode
{Comment[]}
comments
{Date}
created
{User}
creator
{Metadata}
metadata
{String}
mode
{Date}
modified
{User}
modifier
{String}
name
{Number}
parent_id
{String}
parent_type
{String}
prototype
{Number}
requests
{Site}
site
{String}
status
{TagHub[]}
tags
{String}
text
{String}
title
Method Detail
comments_macro(param, mode)
- Parameters:
- {Object} param
- {String} mode
count()
Increment the request counter
{String}
format_filter(value, param, mode)
- Parameters:
- {Object} value
- {Object} param
- {String} mode
- Returns:
- {String}
<static>
{String[]}
Story.getCommentModes()
- Returns:
- {String[]}
- See:
- defineConstants
{String}
getConfirmText()
- Returns:
- {String}
{Number}
getDelta(data)
Calculate the difference of a story’s current and its updated content
- Parameters:
- {Object} data
- Returns:
- {Number}
{String[]}
getFormOptions(name)
- Parameters:
- {String} name
- Returns:
- {String[]}
{Object}
getFormValue(name)
- Parameters:
- {String} name
- Returns:
- {Object}
{HopObject}
getMacroHandler(name)
- Parameters:
- {String} name
- Returns:
- {HopObject}
<static>
{String[]}
Story.getModes()
- Returns:
- {String[]}
- See:
- defineConstants
{Boolean}
getPermission(action)
- Parameters:
- {String} action
- Returns:
- {Boolean}
<static>
{String[]}
Story.getStatus()
- Returns:
- {String[]}
- See:
- defineConstants
{String}
getTitle(limit)
- Parameters:
- {Number} limit
- Returns:
- {String}
isMetadata(name)
- Parameters:
- {String} name
link_macro(param, action, text)
- Parameters:
- {Object} param
- {String} action
- {String} text
{String}
macro_filter(value, param)
- Parameters:
- {String|Skin} value
- {Object} param
- Returns:
- {String}
referrers_macro(param, limit)
- Parameters:
- {Object} param
- {Number} limit
<static>
Story.remove()
setMetadata(data)
- Parameters:
- {Object} data
summary_macro(param)
- Parameters:
- {Object} param
tags_macro(param, mode)
- Parameters:
- {Object} param
- {String} mode
update(data)
- Parameters:
- {Object} data
{String}
url_filter(value, param, mode)
- Parameters:
- {String} value
- {Object} param
- {String} mode
- Returns:
- {String}