[TYPO3-mvc] Re: Class ActionController not found

Philipp philippwrann at gmx.at
Tue Jul 9 08:24:49 CEST 2013


If you are using namespaces you miss a Backslash in the Beginning, but i think it would be better to also write the namespaced version

namespace Vendor\ExtensionName\Controller;

class MyController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController {}

or

class MyController extends \Tx_Extbase_MVC_Controller_ActionController {}

or if you dont use namespaces

just

class Tx_MyExtension_Controller_MyController extends Tx_Extbase_Mvc_Controller_ActionController {}

For samples just take a look at the blog_example extension.


More information about the TYPO3-project-typo3v4mvc mailing list