[Typo3-dev] moving and improving tslib_pi_base->pi_prependFieldsWithTable to t3lib_db->prependFieldsWithTable

Michael Stucki michael at typo3.org
Sat Apr 16 00:37:20 CEST 2005


Bugtracker, with diff, please!
- michael

Martin Kutschker wrote:

> Changing argument $fieldList (string) to $fields (mixed):
> 
> function prependFieldsWithTable($table,$fields)   {
>     if (!is_array($fields))    {
>         $list=t3lib_div::trimExplode(',',$fields,1);
>     }
>     $return=array();
>      while(list(,$listItem)=each($list))     {
>          $return[]=$table.'.'.$listItem;
>      }
>       return implode(',',$return);
>  }
> 
> Masi

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/




More information about the TYPO3-dev mailing list