Documentation TYPO3 par Ameos |


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 = "" | |
version 0.92
Creates a rating object
TypoScript config:
Other resources: 'rating_submit.inc' 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.
Definition at line 67 of file class.tx_ttrating.php.
|
||||||||||||
|
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(). |
|
|
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(). |
1.4.6