[Typo3-dev] pi_list_query depreciated???

Michael Scharkow mscharkow at gmx.net
Tue Mar 22 17:38:19 CET 2005


Ries van Twisk wrote:

> But I need to join more tables (5 in total) and get result from all 5 
> tables instead of just one is this possible with the 
> $this->pi_list_query???
> Or is that function depreciated and I need to use exec_SELECTquery???

if you look for the docs in http://typo3api.ueckermann.de/, it says

@depreciated         Use pi_exec_query() instead!

But basically, you could use it since it's dbal compliant.

> Also when creating my table using pi_list_makelist(...) is it better to 
> use my own function
> or can I still use it to created a table with the result of the query?

Why not? It's there, it's clean and it works? Unless you don't like the 
table layout, like me ;)

Look at the code, and use as many stock api calls as possible rather 
than reinventing the wheel.

Greetings,
Michael




More information about the TYPO3-dev mailing list