[TASK] Adjust autoloader configuration 31/24831/2
authorStefan Rotsch <stefan.rotsch@aoemedia.de>
Wed, 16 Oct 2013 09:06:35 +0000 (11:06 +0200)
committerStefan Rotsch <stefan.rotsch@aoemedia.de>
Wed, 16 Oct 2013 09:21:27 +0000 (11:21 +0200)
Change-Id: I1e6bf7268469dc83e815589f3d9632e60ed5d8ad
Reviewed-on: https://review.typo3.org/24831
Reviewed-by: Stefan Rotsch
Tested-by: Stefan Rotsch
ext_autoload.php
ext_localconf.php

index 3987c36..ba09dce 100644 (file)
@@ -1,13 +1,11 @@
 <?php
-// DO NOT CHANGE THIS FILE! It is automatically generated by extdeveval::buildAutoloadRegistry.
-// This file was generated on 2011-06-27 14:57
-
 $extensionPath = t3lib_extMgm::extPath('languagevisibility');
 $extensionClassesPath = t3lib_extMgm::extPath('languagevisibility') . 'classes/';
 return array(
        'tx_languagevisibility_beservices' => $extensionPath . 'class.tx_languagevisibility_beservices.php',
        'tx_languagevisibility_feservices' => $extensionPath . 'class.tx_languagevisibility_feservices.php',
        'tx_languagevisibility_fieldvisibility' => $extensionPath . 'class.tx_languagevisibility_fieldvisibility.php',
+
        'tx_languagevisibility_cachemanager' => $extensionClassesPath . 'class.tx_languagevisibility_cacheManager.php',
        'tx_languagevisibility_celement' => $extensionClassesPath . 'class.tx_languagevisibility_celement.php',
        'tx_languagevisibility_element' => $extensionClassesPath . 'class.tx_languagevisibility_element.php',
@@ -35,6 +33,8 @@ return array(
        'tx_languagevisibility_hooks_t3lib_tcemain' => $extensionPath . 'hooks/class.tx_languagevisibility_hooks_t3lib_tcemain.php',
        'tx_languagevisibility_hooks_t3lib_userauthgroup' => $extensionPath . 'hooks/class.tx_languagevisibility_hooks_t3lib_userauthgroup.php',
        'tx_languagevisibility_hooks_templavoila_pi1' => $extensionPath . 'hooks/class.tx_languagevisibility_hooks_templavoila_pi1.php',
+       'tx_languagevisibility_hooks_tslib_fe' => $extensionPath . 'hooks/class.tx_languagevisibility_hooks_tslib_fe.php',
+       'tx_languagevisibility_hooks_tslib_menu' => $extensionPath . 'hooks/class.tx_languagevisibility_hooks_tslib_menu.php',
 
        'tx_languagevisibility_modfunc1' => $extensionPath . 'modfunc1/class.tx_languagevisibility_modfunc1.php',
 
index e71e788..013d01f 100644 (file)
@@ -3,44 +3,44 @@ if (!defined('TYPO3_MODE')) {
        die('Access denied.');
 }
 
-$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['languagevisibility'] = 'EXT:languagevisibility/hooks/class.tx_languagevisibility_hooks_t3lib_tcemain.php:tx_languagevisibility_hooks_t3lib_tcemain';
-
-
-       // assuming that we get our patch into the TYPO3 core
-$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_page.php']['getPageOverlay']['languagevisility'] = 'EXT:languagevisibility/hooks/class.tx_languagevisibility_hooks_t3lib_page.php:tx_languagevisibility_hooks_t3lib_page';
-$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_page.php']['getRecordOverlay']['languagevisility'] = 'EXT:languagevisibility/hooks/class.tx_languagevisibility_hooks_t3lib_page.php:tx_languagevisibility_hooks_t3lib_page';
-$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_userauthgroup.php']['checkFullLanguagesAccess']['languagevisility'] = 'EXT:languagevisibility/hooks/class.tx_languagevisibility_hooks_t3lib_userauthgroup.php:tx_languagevisibility_hooks_t3lib_userauthgroup->checkFullLanguagesAccess';
-$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['settingLanguage_preProcess']['languagevisility'] = 'EXT:languagevisibility/hooks/class.tx_languagevisibility_hooks_tslib_fe.php:tx_languagevisibility_hooks_tslib_fe->settingLanguage_preProcess';
+/**
+ * Register TYPO3 core hooks
+ */
+$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['languagevisibility'] = 'tx_languagevisibility_hooks_t3lib_tcemain';
 
-$TYPO3_CONF_VARS['SC_OPTIONS']['typo3/alt_doc.php']['makeEditForm_accessCheck']['languagevisility'] = 'EXT:languagevisibility/hooks/class.tx_languagevisibility_hooks_alt_doc.php:tx_languagevisibility_hooks_alt_doc->makeEditForm_accessCheck';
-$TYPO3_CONF_VARS['SC_OPTIONS']['cms/tslib/class.tslib_menu.php']['filterMenuPages']['languagevisility'] = 'EXT:languagevisibility/hooks/class.tx_languagevisibility_hooks_tslib_menu.php:tx_languagevisibility_hooks_tslib_menu';
+$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_page.php']['getPageOverlay']['languagevisility'] = 'tx_languagevisibility_hooks_t3lib_page';
+$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_page.php']['getRecordOverlay']['languagevisility'] = 'tx_languagevisibility_hooks_t3lib_page';
+$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_userauthgroup.php']['checkFullLanguagesAccess']['languagevisility'] = 'tx_languagevisibility_hooks_t3lib_userauthgroup->checkFullLanguagesAccess';
+$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['settingLanguage_preProcess']['languagevisility'] = 'tx_languagevisibility_hooks_tslib_fe->settingLanguage_preProcess';
 
+$TYPO3_CONF_VARS['SC_OPTIONS']['typo3/alt_doc.php']['makeEditForm_accessCheck']['languagevisility'] = 'tx_languagevisibility_hooks_alt_doc->makeEditForm_accessCheck';
+$TYPO3_CONF_VARS['SC_OPTIONS']['cms/tslib/class.tslib_menu.php']['filterMenuPages']['languagevisility'] = 'tx_languagevisibility_hooks_tslib_menu';
 
        // overriding option because this is done by languagevisibility and will not work if set
 $TYPO3_CONF_VARS['FE']['hidePagesIfNotTranslatedByDefault'] = 0;
 
-       //adding inheriatance flag to the addRootlineField
-$rootlinefields = &$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'];
-$newRootlinefields = 'tx_languagevisibility_inheritanceflag_original, tx_languagevisibility_inheritanceflag_overlayed';
-$rootlinefields .= (empty($rootlinefields))? $newRootlinefields : ',' . $newRootlinefields;
+       // adding inheriatance flag to the addRootlineField
+$rootlineFields = &$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'];
+$newRootlineFields = 'tx_languagevisibility_inheritanceflag_original, tx_languagevisibility_inheritanceflag_overlayed';
+$rootlineFields .= (empty($rootlineFields))? $newRootlineFields : ',' . $newRootlineFields;
 
        // adding the inheritance flag to the pageOverlayFields
-$pagesOverlayfields = &$GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields'];
-$newPagesOverlayfields = 'tx_languagevisibility_inheritanceflag_overlayed';
-$pagesOverlayfields .= (empty($pagesOverlayfields)) ? $newPagesOverlayfields : ',' . $newPagesOverlayfields;
+$pagesOverlayFields = &$GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields'];
+$newPagesOverlayFields = 'tx_languagevisibility_inheritanceflag_overlayed';
+$pagesOverlayFields .= (empty($pagesOverlayFields)) ? $newPagesOverlayFields : ',' . $newPagesOverlayFields;
 
 /**
- * Extension-Hooks
+ * Register extension hooks
  */
 if (t3lib_extMgm::isLoaded('templavoila')) {
-       $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['templavoila']['pi1']['renderElementClass']['languagevisibility'] = 'EXT:languagevisibility/hooks/class.tx_languagevisibility_hooks_templavoila_pi1.php:tx_languagevisibility_hooks_templavoila_pi1';
+       $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['templavoila']['pi1']['renderElementClass']['languagevisibility'] = 'tx_languagevisibility_hooks_templavoila_pi1';
 }
 if (t3lib_extMgm::isLoaded('crawler')) {
-       $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['crawler']['processUrls']['languagevisibility'] = 'EXT:languagevisibility/hooks/class.tx_languagevisibility_hooks_crawler.php:tx_languagevisibility_hooks_crawler->processUrls';
+       $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['crawler']['processUrls']['languagevisibility'] = 'tx_languagevisibility_hooks_crawler->processUrls';
 }
 if (t3lib_extMgm::isLoaded('phpunit')) {
        $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['phpunit']['importExtensions_additionalDatabaseFiles']['languagevisibility'] = 'EXT:languagevisibility/ext_tables.sql';
 }
 if (t3lib_extMgm::isLoaded('aoe_wspreview')) {
-       $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['aoe_wspreview/system/class.tx_aoewspreview_system_workspaceService.php']['createDiff']['languagevisibility'] = 'EXT:languagevisibility/hooks/class.tx_languagevisibility_hooks_aoe_wspreview.php:tx_languagevisibility_hooks_aoe_wspreview->aoewspreview_createDiff';
+       $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['aoe_wspreview/system/class.tx_aoewspreview_system_workspaceService.php']['createDiff']['languagevisibility'] = 'tx_languagevisibility_hooks_aoe_wspreview->aoewspreview_createDiff';
 }