Antville 1.2-beta API Reference
Class Index | File Index

Classes


Class Poll


Extends HopObject.

Defined in: Poll.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Poll(question)
Field Summary
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 Summary
Method Attributes Method Name and Description
 
closed_macro(param, format)
 
 
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
Class Detail
Poll(question)
Parameters:
{String} question
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)
Parameters:
{Object} param
{String} action
{String} text
See:
HopObject#link_macro

<static> Poll.remove()

update(data)
Parameters:
{Object} data

vote(data)
Parameters:
{Object} data

votes_macro()

Documentation generated by JsDoc Toolkit 2.3.2 on Sat Jan 16 2010 00:41:43 GMT+0100 (CET)