Documentation TYPO3 par Ameos

tx_ttrating Class Reference

Inheritance diagram for tx_ttrating:

Inheritance graph
Collaboration diagram for tx_ttrating:

Collaboration graph
List of all members.

Public Member Functions

 main_rating ($content, $conf)
 getItemList ($pid)
 getItemRatingLink ($recordlink, $pid)
 getItem ($uid)
 createNewItem ($pid=0)

Public Attributes

 $enableFields = ""
 $config = array()
 $conf = array()
 $rateTable = ""
 $rateTableUid = ""
 $rateTableTitle = ""

Detailed Description

version 0.92

Creates a rating object

TypoScript config:

Other resources: '' is used for submission of the rating value to the database. This is done through the FEData TypoScript object. See the static_template 'plugin.tt_rating' for an example of how to set this up.

René Fritz <>

Definition at line 67 of file class.tx_ttrating.php.

Member Function Documentation

tx_ttrating::main_rating content,

Main method. Call this from TypoScript by a USER cObject.

Definition at line 80 of file class.tx_ttrating.php.

References $conf, createNewItem(), getItemList(), t3lib_div::intExplode(), and t3lib_div::trimExplode().

Member Data Documentation

tx_ttrating::$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 71 of file class.tx_ttrating.php.

Referenced by main_rating().

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

Généré par L'expert TYPO3 avec  doxygen 1.4.6