[TYPO3-mvc] Accessing $GLOBALS['TYPO3_DB'] in repository

Jochen Rau jochen.rau at typoplanet.de
Fri Dec 18 13:36:00 CET 2009


Hi Alex.

schrieb Alex Bailey:
> In my current function I am required to use certain functonality from
> the "old" $GLOBALS['TYPO3_DB'] in my repository. I was told I can just
> use it like in the old pibase system:
> $GLOBALS['TYPO3_DB']->exec_UPDATEquery...etc
>
> And though $GLOBALS containts the TYPO3_DB object I am not able to
> access any function in it.
>
> Is there some special circumstance I am not aware off?

Unfortunately I can not reproduce this issue. Everything is fine with 
the BlogExample. Maybe a typo. Do you have more information about the 
"circumstances"?

Regards
Jochen

-- 
Every nit picked is a bug fixed



More information about the TYPO3-project-typo3v4mvc mailing list