[TYPO3-mvc] Signal/Slot pattern

Tobias Pinnekamp typo3 at tpinne.de
Thu Dec 22 11:19:37 CET 2011


Hi Tim,

Am 22.12.11 11:04, schrieb Tim Schoch | GSTALTIG:
> You can use
> t3lib_div::makeInstance( 'Tx_Extbase_Object_Manager' )->get( 'Tx_Extbase_SignalSlot_Dispatcher' );
> I guess this is fine, as extbase itself uses this the first time it needs the objectManager. (correct me pls, if this has changed)
> makeInstance will return the singleton ObjectManager so your fine to go.
> Tim

this is the exact thing I tried first (see first post in this thread). I 
used Tx_Extbase_Object_Manager (which is deprecated) and then the 
Tx_Extbase_Object_ObjectManager. Both method throw the exception, that 
the extbase_object cache doesn't exist.

Maybe it's an issue of the loading order of the extensions. But I looked 
at my localconf.php and the extList shows extbase way in front of my own 
extension. So I don't think that's the issue here.

Tobias


More information about the TYPO3-project-typo3v4mvc mailing list