[TYPO3-english] XClassing again
Tomasz Krawczyk
tomkrawc at gmail.com
Fri Mar 29 15:35:55 CET 2013
W dniu 2013-03-29 11:23, Philipp Gampe pisze:
>
> It must be at least
> __construct(Resource\Processing\LocalImageProcessor $processor) {
>
> According to your use statement.
>
> The error message says it all ;)
>
> Best regards
So I changed to:
public function
__construct(\TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor
$processor) {
if (TYPO3_DLOG)
\TYPO3\CMS\Core\Utility\GeneralUtility::devLog(__METHOD__,
$this->extKey);
parent::__construct($processor);
}
public function
process(\TYPO3\CMS\Core\Resource\Processing\TaskInterface $task) {
if (TYPO3_DLOG)
\TYPO3\CMS\Core\Utility\GeneralUtility::devLog(__METHOD__,
$this->extKey);
And now my XClasses are working. I see devlog entries.
Thank you!
cheers
Tomasz
More information about the TYPO3-english
mailing list