Class Index | File Index

Classes


Class NTGVota.Config-NTGVotaThemeStars


Defined in: template.js.

Class Summary
Constructor Attributes Constructor Name and Description
<inner>  
Template para urna con estrellas Autor: Alejandro Vera
Field Summary
Field Attributes Field Name and Description
 
id
Identificador (nombre corto) del tema
Method Summary
Method Attributes Method Name and Description
 
getUrn(code, id)
Funcion para obtener HTML de Urna
 
Funcion para mostrar resultado de votacion actual
 
showWait(code, id)
Funcion para mostrar estado de espera
 
writeMsg(code, id, msg, autohide)
Funcion para mostrar mensaje
Class Detail
<inner> NTGVota.Config-NTGVotaThemeStars()
Template para urna con estrellas Autor: Alejandro Vera
Field Detail
id
Identificador (nombre corto) del tema
Method Detail
{String} getUrn(code, id)
Funcion para obtener HTML de Urna
Parameters:
{String} code
Codigo de votacion
{String} id
identificador del elemento que se vota
Returns:
{String} Codigo HTML de la urna de votacion

showCurrent(data)
Funcion para mostrar resultado de votacion actual
Parameters:
{Array} data
Arreglo con elementos de RespuestaDeVotacion

showWait(code, id)
Funcion para mostrar estado de espera
Parameters:
{String} code
Codigo de votacion
{String} id
identificador del elemento que se vota

writeMsg(code, id, msg, autohide)
Funcion para mostrar mensaje
Parameters:
{String} code
Codigo de votacion
{String} id
identificador del elemento que se vota
{String} msg
Mensaje a desplegar
{Number} autohide
Milisegundos en los que se va a ocultar el mensaje. 0 deshabilita el ocultamiento. 3 segundos por defecto

Documentation generated by JsDoc Toolkit 2.3.2 on Thu May 13 2010 15:21:30 GMT-0400 (CLT)