[TYPO3-dev] Annoyed by the use of $GLOBALS['TYPO3_DB']
Benjamin Mack
benni at typo3.org
Fri Sep 19 19:10:17 CEST 2008
Hey all,
when I'm developing extensions, I find it very annoying to use
$GLOBALS['TYPO3_DB'] all the time, and it makes the code not so readable
anymore.
What do you think of having a reference to the $GLOBALS['TYPO3_DB'] in
every instance of pi_base? Similar to what we have with div/lib...
$this->DB->exec_selectQuery
what do you think?
--
All the best,
benni.
-SDG-
More information about the TYPO3-dev
mailing list