[TYPO3-german] TYPO3 6.0 XCLASS + Namespaces

Philipp Gampe philipp.gampe at typo3.org
Mon Nov 26 00:51:18 CET 2012


Hi Illi, Cornelius,

Illi, Cornelius wrote:

> Hier ist die Lösung:

Leider ab heute nicht mehr :(
https://review.typo3.org/#/c/16712/

> in die ext_autoload.php als Key:
> 'ux_TYPO3\\CMS\\Backend\\Controller\\LoginController'
> 
> als Namespace:
> namespace ux_TYPO3\\CMS\\Backend\\Controller;
> 
> als Klassenname:
> class LoginController extends
> \TYPO3\CMS\Backend\Controller\LoginController
> 
> Grüße,
> 
> Cornelius
> 
> 
> On Nov 22, 2012, at 2:54 PM, Cornelius Illi wrote:
> 
> Hi guys,
> weiß jemand von euch, wie man XClassing mit Namespaces für TYPO3 6.0
> macht? Meine ext_autoload.php sieht in etwa so aus:
> 
> <?php
> $extensionPath =
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('ci_auth');
> return array( 'TYPO3\\CMS\\Backend\\Controller\\_ux_LogoutController' =>
> $extensionPath . 'Classes/ux_LogoutController.php' );
> ?>
> 
> Vielen Dank für eure Hilfe!
> Grüße,
> 
> Cornelius
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – linkvalidator
TYPO3 .... inspiring people to share!



More information about the TYPO3-german mailing list