Public Member Functions
|main_poll ($content, $conf)|
|getItemPollLink ($recordlink, $pid)|
|$enableFields = ""|
|$config = array()|
|$conf = array()|
|$pollTable = ""|
|$pollTableUid = ""|
|$pollTablePid = ""|
Creates a poll object
Other resources: 'poll_submit.inc' is used for submission of the poll value to the database. This is done through the FEData TypoScript object. See the static_template 'plugin.tt_poll' for an example of how to set this up.
Definition at line 59 of file class.tx_ttpoll.php.
Main method. Call this from TypoScript by a USER cObject.
Should normally be set in the main function with the TypoScript content passed to the method.
$conf[LOCAL_LANG][_key_] is reserved for Local Language overrides. $conf[userFunc] / $conf[includeLibs] reserved for setting up the USER / USER_INT object. See TSref
Reimplemented from tslib_pibase.
Referenced by main_poll().