當前位置: 首頁>>代碼示例>>PHP>>正文


PHP ExtensionManagementUtility::loadExtLocalconf方法代碼示例

本文整理匯總了PHP中TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf方法的典型用法代碼示例。如果您正苦於以下問題:PHP ExtensionManagementUtility::loadExtLocalconf方法的具體用法?PHP ExtensionManagementUtility::loadExtLocalconf怎麽用?PHP ExtensionManagementUtility::loadExtLocalconf使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在TYPO3\CMS\Core\Utility\ExtensionManagementUtility的用法示例。


在下文中一共展示了ExtensionManagementUtility::loadExtLocalconf方法的11個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: loadExtTablesDoesNotReadFromCacheIfCachingIsDenied

 /**
  * @test
  */
 public function loadExtTablesDoesNotReadFromCacheIfCachingIsDenied()
 {
     /** @var CacheManager|\PHPUnit_Framework_MockObject_MockObject $mockCacheManager */
     $mockCacheManager = $this->getMock(CacheManager::class, array('getCache'));
     $mockCacheManager->expects($this->never())->method('getCache');
     ExtensionManagementUtilityAccessibleProxy::setCacheManager($mockCacheManager);
     $GLOBALS['TYPO3_LOADED_EXT'] = new LoadedExtensionsArray($this->createMockPackageManagerWithMockPackage($this->getUniqueId()));
     ExtensionManagementUtility::loadExtLocalconf(FALSE);
 }
開發者ID:plan2net,項目名稱:TYPO3.CMS,代碼行數:12,代碼來源:ExtensionManagementUtilityTest.php

示例2: loadTypo3LoadedExtAndExtLocalconf

 /**
  * Load ext_localconf of extensions
  *
  * @param bool $allowCaching
  * @return Bootstrap
  * @internal This is not a public API method, do not use in own extensions
  */
 public function loadTypo3LoadedExtAndExtLocalconf($allowCaching = true)
 {
     ExtensionManagementUtility::loadExtLocalconf($allowCaching);
     return $this;
 }
開發者ID:TYPO3Incubator,項目名稱:TYPO3.CMS,代碼行數:12,代碼來源:Bootstrap.php

示例3: reloadCaches

 /**
  * Reload Cache files and Typo3LoadedExtensions
  *
  * @return void
  */
 public function reloadCaches()
 {
     \TYPO3\CMS\Core\Utility\OpcodeCacheUtility::clearAllActive();
     // Reload class aliases defined in Migrations/Code/ClassAliasMap.php
     \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->getEarlyInstance('TYPO3\\CMS\\Core\\Core\\ClassLoader')->setPackages($this->packageManager->getActivePackages());
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf(FALSE);
     \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->loadExtensionTables(FALSE);
 }
開發者ID:khanhdeux,項目名稱:typo3test,代碼行數:13,代碼來源:InstallUtility.php

示例4: loadExtTablesDoesNotReadFromCacheIfCachingIsDenied

 /**
  * @test
  */
 public function loadExtTablesDoesNotReadFromCacheIfCachingIsDenied()
 {
     $mockCacheManager = $this->getMock('TYPO3\\CMS\\Core\\Cache\\CacheManager', array('getCache'));
     $mockCacheManager->expects($this->never())->method('getCache');
     ExtensionManagementUtilityAccessibleProxy::setCacheManager($mockCacheManager);
     $GLOBALS['TYPO3_LOADED_EXT'] = new \TYPO3\CMS\Core\Compatibility\LoadedExtensionsArray($this->createMockPackageManagerWithMockPackage($this->getUniqueId()));
     ExtensionManagementUtility::loadExtLocalconf(FALSE);
 }
開發者ID:KarlDennisMatthaei1923,項目名稱:PierraaDesign,代碼行數:11,代碼來源:ExtensionManagementUtilityTest.php

示例5: loadAdditionalConfigurationFromExtensions

 /**
  * Load extension configuration files (ext_localconf.php)
  *
  * The ext_localconf.php files in extensions are meant to make changes
  * to the global $TYPO3_CONF_VARS configuration array.
  *
  * @param boolean $allowCaching
  * @return \TYPO3\CMS\Core\Core\Bootstrap
  */
 protected function loadAdditionalConfigurationFromExtensions($allowCaching = TRUE)
 {
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf($allowCaching);
     return $this;
 }
開發者ID:nicksergio,項目名稱:TYPO3v4-Core,代碼行數:14,代碼來源:Bootstrap.php

示例6: initializeExtensionConfiguration

 /**
  * @param ConsoleBootstrap $bootstrap
  */
 public static function initializeExtensionConfiguration(ConsoleBootstrap $bootstrap)
 {
     // Manual load GlobalDebugFunctions.php for TYPO3 CMS <= 7.3
     if (file_exists(PATH_site . 'typo3/sysext/core/Classes/Core/GlobalDebugFunctions.php')) {
         require_once PATH_site . 'typo3/sysext/core/Classes/Core/GlobalDebugFunctions.php';
     }
     ExtensionManagementUtility::loadExtLocalconf();
     $bootstrap->applyAdditionalConfigurationSettings();
 }
開發者ID:beechit,項目名稱:typo3_console,代碼行數:12,代碼來源:Scripts.php

示例7: initializeExtensionConfiguration

 /**
  * @param ConsoleBootstrap $bootstrap
  */
 public static function initializeExtensionConfiguration(ConsoleBootstrap $bootstrap)
 {
     require_once PATH_site . 'typo3/sysext/core/Classes/Core/GlobalDebugFunctions.php';
     ExtensionManagementUtility::loadExtLocalconf();
     $bootstrap->applyAdditionalConfigurationSettings();
 }
開發者ID:ppwGschmechel,項目名稱:typo3_console,代碼行數:9,代碼來源:Scripts.php

示例8: reloadCaches

 /**
  * Reload Cache files and Typo3LoadedExtensions
  *
  * @return void
  */
 public function reloadCaches()
 {
     GeneralUtility::makeInstance(OpcodeCacheService::class)->clearAllActive();
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf(FALSE);
     \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->loadExtensionTables(FALSE);
 }
開發者ID:plan2net,項目名稱:TYPO3.CMS,代碼行數:11,代碼來源:InstallUtility.php

示例9: reloadCaches

 /**
  * Reload Cache files and Typo3LoadedExtensions
  *
  * @return void
  */
 public function reloadCaches()
 {
     $this->reloadOpcache();
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf(false);
     \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->loadExtensionTables(false);
 }
開發者ID:hlop,項目名稱:TYPO3.CMS,代碼行數:11,代碼來源:InstallUtility.php

示例10: reloadCaches

 /**
  * Reload Cache files and Typo3LoadedExtensions
  *
  * @return void
  */
 public function reloadCaches()
 {
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf(FALSE);
     \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->loadExtensionTables(FALSE);
 }
開發者ID:Mr-Robota,項目名稱:TYPO3.CMS,代碼行數:10,代碼來源:InstallUtility.php

示例11: loadExtTablesDoesNotReadFromCacheIfCachingIsDenied

 /**
  * @test
  */
 public function loadExtTablesDoesNotReadFromCacheIfCachingIsDenied()
 {
     $GLOBALS['typo3CacheManager'] = $this->getMock('TYPO3\\CMS\\Core\\Cache\\CacheManager', array('getCache'));
     $GLOBALS['typo3CacheManager']->expects($this->never())->method('getCache');
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf(FALSE);
 }
開發者ID:nicksergio,項目名稱:TYPO3v4-Core,代碼行數:9,代碼來源:ExtensionMangementUtilityTest.php


注:本文中的TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。