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

Martin Kutschker masi-no at spam-typo3.org
Fri May 8 12:02:43 CEST 2009


Steffen Kamper schrieb:
> Hi Stefan,
> 
> i don't think such helper belongs to DB class, it's something for
> pi_base imho.

Why pi_base? Of course low lever DB helpers shouldn't be in t3lib_db,
but OTOH lot's of stuff is there already...

> 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']->!!!


More information about the TYPO3-team-core mailing list