Documentation TYPO3 par Ameos |
Public Member Functions | |
main_xmlnewsfeed ($content, $conf) | |
getStoriesResult () | |
main_news ($content, $conf) | |
news_archiveMenu () | |
news_list () | |
getSelectConf ($where, $noPeriod=0) | |
setPidlist ($pid_list) | |
initRecursive ($recursive) | |
initCategories () | |
generatePageArray () | |
getItemMarkerArray ($row, $textRenderObj="displaySingle") | |
getRelated ($uid) | |
userProcess ($mConfKey, $passVar) | |
spMarker ($subpartMarker) | |
getLinkUrl ($id="", $excludeList="") | |
searchWhere ($sw) | |
formatStr ($str) | |
getLayouts ($templateCode, $alternativeLayouts, $marker) | |
Public Attributes | |
$cObj | |
$tt_news_uid | |
$conf | |
$config | |
$alternativeLayouts | |
$pid | |
$allowCaching | |
$catExclusive | |
$searchFieldList = "short,bodytext,author,keywords,links,imagecaption,title" | |
$theCode = "" | |
$categories = array() | |
$pageArray = array() |
Creates a news system.
TypoScript config:
Definition at line 42 of file class.tx_ttnews.php.
|
Format string with nl2br and htmlspecialchars() Definition at line 681 of file class.tx_ttnews.php. |
|
Generates an array, ->pageArray of the pagerecords from ->pid_list Definition at line 534 of file class.tx_ttnews.php. Referenced by news_list(). |
|
Fills in the markerArray with data for a product Definition at line 546 of file class.tx_ttnews.php. References t3lib_div::intInRange(), and t3lib_div::trimExplode(). Referenced by news_list(). |
|
Returns alternating layouts Definition at line 691 of file class.tx_ttnews.php. Referenced by news_archiveMenu(), and news_list(). |
|
Returns a url for use in forms and links Definition at line 649 of file class.tx_ttnews.php. References t3lib_div::_GP(), and t3lib_div::inList(). Referenced by news_list(). |
|
Gets related news. Definition at line 609 of file class.tx_ttnews.php. References t3lib_div::makeInstance(). |
|
Getting all tt_news_cat categories into internal array Definition at line 522 of file class.tx_ttnews.php. Referenced by news_list(). |
|
Extends the internal pid_list by the levels given by $recursive Definition at line 508 of file class.tx_ttnews.php. |
|
Main news function. Definition at line 81 of file class.tx_ttnews.php. References $conf, $pid, $theCode, t3lib_div::_GP(), t3lib_div::intExplode(), t3lib_div::intInRange(), t3lib_div::makeInstance(), news_archiveMenu(), news_list(), and t3lib_div::trimExplode(). |
|
Main news function for XML news feed Definition at line 61 of file class.tx_ttnews.php. References getStoriesResult(), and t3lib_div::makeInstanceClassName(). |
|
News archive menu Definition at line 176 of file class.tx_ttnews.php. References getLayouts(), getSelectConf(), t3lib_div::makeInstance(), and spMarker(). Referenced by main_news(). |
|
Displaying single news/ the news list / searching Definition at line 269 of file class.tx_ttnews.php. References $theCode, t3lib_div::_GP(), generatePageArray(), getItemMarkerArray(), getLayouts(), getLinkUrl(), getSelectConf(), initCategories(), t3lib_div::intInRange(), searchWhere(), setPidlist(), and spMarker(). Referenced by main_news(). |
|
Generates a search where clause. Definition at line 673 of file class.tx_ttnews.php. Referenced by news_list(). |
|
Sets the pid_list internal var Definition at line 501 of file class.tx_ttnews.php. Referenced by news_list(). |
|
Returning template subpart marker Definition at line 636 of file class.tx_ttnews.php. Referenced by news_archiveMenu(), and news_list(). |
|
Calls user function Definition at line 624 of file class.tx_ttnews.php. |
|
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 46 of file class.tx_ttnews.php. Referenced by main_news(). |