[Typo3-dev] Building MySQL queries with selectConf array

Sacha Vorbeck sachav at gmx.net
Mon Sep 1 13:30:27 CEST 2003


Hi Ingmar,

> Now, in your case, you are attempting to use the query function.
> In the TSRef it is called "select".
> 
> See: 
> http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=270&tx_extrepmgm_pi1[tocEl]=318&cHash=a98cb4e7e6 
 > And there you'll find a nice reference of what's possible and what
 > isn't.

thanks  - I should have known this page as (once upon a time) I made an 
annotation to it. So LIMIT is not a valid property here.


> $this->cObj refers to the class tslib_cObject!

ah I see: the class tslib_cObject is inside class.tslib_content.php. Oh, 
and there`s the method getQuery. Yep, I could add "begin" and "max" and 
the method would add the according LIMIT to the query. Great.

 > Read it carefully until the end ;-) and you'll understand a lot more
 > about Typo3!

you`re right, it is really interesting to read!

-- 
thanks again,

Sacha





More information about the TYPO3-dev mailing list