[TYPO3-mvc] Extbase 1.3.0 and scheduler

Bastian Waidelich bastian at typo3.org
Tue Feb 8 15:40:08 CET 2011


roberto blanko wrote:

Hi,

> 1. Somehow the Extbase autoloader does not work. I have to include all
> required classes myself.

You can initialize the extbase autoloader like this:
if (!class_exists('Tx_Extbase_Utility_ClassLoader', FALSE)) {
	$classLoader = t3lib_div::makeInstance('Tx_Extbase_Utility_ClassLoader');
	spl_autoload_register(array($classLoader, 'loadClass'));
}


> 2. I cannot access $this->settings (TypoScript) within the controller. It's
> just NULL

The Extbase bootstrap should initialize the ConfigurationManager, so 
this should work actually..
How does your scheduler code look like now?

Best,
Bastian


More information about the TYPO3-project-typo3v4mvc mailing list