Documentation TYPO3 par Ameos

tx_ttpoll Class Reference

Inheritance diagram for tx_ttpoll:

Inheritance graph
Collaboration diagram for tx_ttpoll:

Collaboration graph
List of all members.

Public Member Functions

 main_poll ($content, $conf)
 getItemPollLink ($recordlink, $pid)

Public Attributes

 $enableFields = ""
 $config = array()
 $conf = array()
 $pollTable = ""
 $pollTableUid = ""
 $pollTablePid = ""

Detailed Description

version 0.91

Creates a poll object

TypoScript config:

Other resources: '' 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.

René Fritz <>

Definition at line 59 of file class.tx_ttpoll.php.

Member Function Documentation

tx_ttpoll::main_poll content,

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().

Member Data Documentation

tx_ttpoll::$conf = array()

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().

The documentation for this class was generated from the following file:

Généré par Les spécialistes TYPO3 avec  doxygen 1.4.6