[TYPO3-dev] Update database when saving plugin flexform configuration in BE?

JoH asenau info at cybercraft.de
Thu Sep 10 10:57:40 CEST 2009


>> This is why I proposed to create exec_SELECTgetSingleRow, which
>> would serve both of us well - even if you tried to ridicule it.
>
> building new funcions in t3lib_db alwas has to take into account that
> this has to be build for all libs of adodb.
>
> Referring the Argument of time you're right but the queries can be
> build with sql_fetch_row instead of sql_fetch_assoc or $row =
> $this->sql_fetch_assoc should work too for 1-row results without loop.

This is what I would do, but Dmitry would prefer a single function call to
keep the code readable and this is why I proposed to introduce
exec_SELECTgetSingleRow(), which would take care of memory leaks as well.

Just my 1 row

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
TYPO3 workshops: http://workshops.eqony.com






More information about the TYPO3-dev mailing list