Bug #20529 » bug_11220.diff
class.tslib_content.php.new Fri May 29 14:32:20 2009 | ||
---|---|---|
* @link http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=270&tx_extrepmgm_pi1[tocEl]=318&cHash=a98cb4e7e6
|
||
*/
|
||
function getQuery($table, $conf, $returnQueryArray=FALSE) {
|
||
|
||
// stdWrap for $conf-values allowed in $stdWrapAllowedValues
|
||
$stdWrapAllowedValues = Array('pidInList.','uidInList.','recursive.','min.','max.');
|
||
foreach ($conf as $k => $v) {
|
||
if (in_array($k,$stdWrapAllowedValues) || in_array($k.'.',$stdWrapAllowedValues)) {
|
||
preg_match('/(.*?)\./',$k,$r);
|
||
$conf[$r[1]] = trim($this->stdWrap($conf[$r[1]],$conf[$k]));
|
||
}
|
||
}
|
||
|
||
// Construct WHERE clause:
|
||
$conf['pidInList'] = trim($this->stdWrap($conf['pidInList'],$conf['pidInList.']));
|
||
|
||
// Handle recursive function for the pidInList
|
||
if (isset($conf['recursive'])) {
|