[TYPO3-dev] Instantiate extbase action controller inside tslib_fe hook

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Mon Oct 26 21:34:55 CET 2009


Good evening!

Sorry if I'm wrong here; I'm new to
the TYPO3 newsgroup, generally to newsgroups at all.

What is the correct way to instantiate an extbase action
controller inside a registered typo3 tslib_fe hook?

The following didn't work:

Tx_Extbase_Utility_ClassLoader::loadClass('Tx_MyExt_Controller_MyController');
t3lib_div::getUserObj('Tx_MyExt_Controller_MyController');

Thanks so much for help!

Thasmo =o)




More information about the TYPO3-dev mailing list