[TYPO3-english] Core: RFC: #7921 / additionaly add stdWrap for uidInList

Tyler Kraft tyler.kraft at netefficiency.co.uk
Fri May 29 11:59:06 CEST 2009


Hi

 > stdWrap for uidInList is required too:

Yes please!! This is one of the feature requests that I had in mind when 
I posted yesterday.

Tyler


David Bruchmann wrote:
> ----- Ursprüngliche Nachricht -----
> Von:        David Bruchmann <typo3-en at bruchmann-web.de>
> Gesendet:   Freitag, 29. Mai 2009 02:38:08
> An:         TYPO3 English <typo3-english at lists.netfielders.de>
> CC:
> Betreff:    [TYPO3-english] Core: RFC: #7921: recursive pidInList for 
> select in    cObj CONTENT
> 
> stdWrap for uidInList is required too:
> 
> 
> 
> 
>     function getQuery($table, $conf, $returnQueryArray=FALSE)    {
>             // Construct WHERE clause:
>         $conf['uidInList'] = 
> trim($this->stdWrap($conf['uidInList'],$conf['uidInList.']));
>         $conf['pidInList'] = 
> trim($this->stdWrap($conf['pidInList'],$conf['pidInList.']));
> 
>             // Handle recursive function for the pidInList
>         $conf['recursive'] = 
> trim($this->stdWrap($conf['recursive'],$conf['recursive.']));
>         if ($conf['recursive']) {
>             foreach (explode(',', $conf['pidInList']) as $value) {
>                 $pidList.= $value . ',' . $this->getTreeList($value, 
> $conf['recursive']);
>             }
>             $conf['pidInList'] = trim($pidList, ',');
>         }
> 
> ......
> 
> 
> Regards David


More information about the TYPO3-english mailing list