Class Poll
Extends
HopObject.
Defined in: Poll.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Poll(question)
|
Field Attributes | Field Name and Description |
---|---|
<static> |
Poll._children
|
<static> |
Poll.closed
|
<static> |
Poll.created
|
<static> |
Poll.creator
|
<static> |
Poll.modified
|
<static> |
Poll.modifier
|
<static> |
Poll.question
|
<static> |
Poll.site
|
<static> |
Poll.status
|
<static> |
Poll.votes
|
Method Attributes | Method Name and Description |
---|---|
closed_macro(param, format)
|
|
getFormOptions(name)
|
|
getPermission(action)
|
|
<static> |
Poll.getStatus(ctor)
|
input_macro(param, name)
|
|
link_macro(param, action, text)
|
|
<static> |
Poll.remove()
|
update(data)
|
|
vote(data)
|
|
- Methods borrowed from class HopObject:
- addTag, checkbox_macro, created_macro, creator_macro, getFormValue, getTags, getTitle, handleMetadata, 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
<static>
{Choice[]}
Poll._children
<static>
{String}
Poll.closed
<static>
{Date}
Poll.created
<static>
{User}
Poll.creator
<static>
{Date}
Poll.modified
<static>
{User}
Poll.modifier
<static>
{String}
Poll.question
<static>
{Site}
Poll.site
<static>
{String}
Poll.status
<static>
{Vote[]}
Poll.votes
Method Detail
closed_macro(param, format)
- Parameters:
- {Object} param
- {String} format
{Object}
getFormOptions(name)
- Parameters:
- {String} name
- Returns:
- {Object}
{Boolean}
getPermission(action)
- Parameters:
- {String} action
- Returns:
- {Boolean}
<static>
{String[]}
Poll.getStatus(ctor)
- Parameters:
- {String} ctor
- Returns:
- {String[]}
- See:
- defineConstants
input_macro(param, name)
- Parameters:
- {Object} param
- {String} name
- See:
- HopObject#link_macro
link_macro(param, action, text)
- See:
- HopObject#link_macro
<static>
Poll.remove()
update(data)
- Parameters:
- {Object} data
vote(data)
- Parameters:
- {Object} data
votes_macro()