Documentation TYPO3 par Ameos |
Public Member Functions | |
main_poll ($content, $conf) | |
getItemPollLink ($recordlink, $pid) | |
Public Attributes | |
$cObj | |
$enableFields = "" | |
$config = array() | |
$conf = array() | |
$pollTable = "" | |
$pollTableUid = "" | |
$pollTablePid = "" |
version 0.91
Creates a poll object
TypoScript config:
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. Definition at line 74 of file class.tx_ttpoll.php. References $conf, t3lib_div::_POST(), and t3lib_div::trimExplode(). |
|
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. Definition at line 65 of file class.tx_ttpoll.php. Referenced by main_poll(). |