[TYPO3-core] RFC #11050: Add TYPO3_DB->exec_SELECTgetField() function

Steffen Kamper info at sk-typo3.de
Fri May 8 12:37:41 CEST 2009


Hi,

$res =	->exec_SELECTquery ?

vg Steffen

Stefan Geith schrieb:
> Hi,
> 
> Martin Kutschker schrieb:
>> Steffen Kamper schrieb:
>>> ...
>>> Anyway if you want to add something to DB class you have to change it in
>>> DBAL as well.
>>
>> That depends. If the method calls only other methods from itself * and
>> not the DB-API directly then then DBAL doesn't need to extend the method.
>>
>>
>> * Please use this-> instead of $GLOBALS['TYPO3_DB']->!!!
> 
> OK - new patch attached.
> 
> BTW: function exec_SELECT_mm_query() and explain() in TYPO3_DB
>      also use $GLOBALS['TYPO3_DB']-> istead of $this->
>      Should this get changed ?
> 
> /Stefan
> 


More information about the TYPO3-team-core mailing list