[TYPO3-core] RFC #11050: Add TYPO3_DB->exec_SELECTgetField() function
Stefan Geith
typo3dev2008.nospam1 at geithware.de
Fri May 8 12:47:20 CEST 2009
Sorry - seems, that my multitasking-brain was overloaded ;)
Steffen Kamper schrieb:
> 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
>>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0011050v3-exec_SELECTgetField.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090508/5e3905bb/attachment.txt
More information about the TYPO3-team-core
mailing list