[TYPO3-mvc] [SOLVED] Re: Extbase 1.3.0 and scheduler
roberto blanko
robertoblanko at gmail.com
Mon Feb 14 14:19:10 CET 2011
Franz, Braulio, Bastian, Marc, I LOVE YOU GUYS!!!
It works. I had to use UpperCamelCase consequently and not only in the
globalvars. Now autoloading, queries and settings access work like a charm.
Now here's the code that works (for anyone else having the same problems)
$configuration = array(
'extensionName' => 'MyExt',
'pluginName' => 'Pi1'
);
$_SERVER['REQUEST_METHOD'] = 'GET';
$_GET['tx_myext_pi1']['controller'] = 'ExportTask';
$_GET['tx_myext_pi1']['action'] = 'run';
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['extbase']['extensions']['MyExt']['modules']['Pi1']['controllers']
= array(
'ExportTask' => array('actions' => array('run'))
);
Anyways: I would still prefer a less hacky approach. So an official how to
use Extbase on CLI would be great.
More information about the TYPO3-project-typo3v4mvc
mailing list