Project

General

Profile

Feature #18822 » 18822.diff

Jo Hasenau, 2011-08-01 20:34

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (date 1312223180000)
'uidInList', 'selectFields', 'where', 'max', 'begin', 'groupBy', 'orderBy', 'join', 'leftjoin', 'rightjoin'
);
foreach ($properties as $property) {
$conf[$property] = isset($conf[$property.'.'])
? trim($this->stdWrap($conf[$property], $conf[$property.'.']))
: trim($conf[$property]);
if ($conf[$property]) {
$conf[$property] = str_replace('###' . $marker . '###', $markerValue, $conf[$property]);
} else {
unset($conf[$property]);
}
}
}
......
// Handle recursive function for the pidInList
if (isset($conf['recursive'])) {
$conf['recursive'] = intval($conf['recursive']);
$conf['recursive'] = isset($conf['recursive.'])
? intval($this->stdWrap($conf['recursive'], $conf['recursive.']))
: intval($conf['recursive']);
if ($conf['recursive'] > 0) {
foreach (explode(',', $conf['pidInList']) as $value) {
if ($value === 'this') {
......
// Setting up tablejoins:
$joinPart = '';
if ($conf['join']) {
$joinPart = 'JOIN ' . trim($conf['join']);
$joinPart = 'JOIN ' . $conf['join'];
} elseif ($conf['leftjoin']) {
$joinPart = 'LEFT OUTER JOIN ' . trim($conf['leftjoin']);
$joinPart = 'LEFT OUTER JOIN ' . $conf['leftjoin'];
} elseif ($conf['rightjoin']) {
$joinPart = 'RIGHT OUTER JOIN ' . trim($conf['rightjoin']);
$joinPart = 'RIGHT OUTER JOIN ' . $conf['rightjoin'];
}
// Compile and return query:
(2-2/2)